Don't test approximate equality for Float80 on platforms that don't have it.

This commit is contained in:
Stephen Canon committed 2020-07-27 10:07:05 -04:00
1 parent 2828bec340
commit e6a343a205
1 file changed
+2
@@ -122,9 +122,11 @@ final class ElementaryFunctionTests: XCTestCase {
testRandom(Double.self)
}
#if (arch(i386) || arch(x86_64)) && !os(Windows) && !os(Android)
func testFloat80() {
testSpecials(Float80.self)
testDefaults(Float80.self)
testRandom(Float80.self)
}
#endif
}