Skip to content

Commit 6015709

Browse files
authored
Merge pull request #16523 from huonw/conditionalize-float80
[test] Float80 only exists on some platforms.
2 parents 9c54462 + 6de8b18 commit 6015709

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

validation-test/stdlib/Random.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ func floatingPointRangeTest<T: BinaryFloatingPoint>(_ type: T.Type)
128128
RandomTests.test("random floating points in ranges") {
129129
floatingPointRangeTest(Float.self)
130130
floatingPointRangeTest(Double.self)
131+
#if !os(Windows) && (arch(i386) || arch(x86_64))
131132
floatingPointRangeTest(Float80.self)
133+
#endif
132134
}
133135

134136
// Random Elements from collection

0 commit comments

Comments
 (0)