Skip to content

Commit a883d95

Browse files
committed
Fixup guard on Float16 Complex divide tests.
1 parent 3d6de9f commit a883d95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/ComplexTests/ArithmeticTests.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,10 @@ final class ArithmeticTests: XCTestCase {
168168
}
169169

170170
func testPolar() {
171-
#if (arch(arm64))
172-
testPolar(Float16.self)
171+
#if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
172+
if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *) {
173+
testPolar(Float16.self)
174+
}
173175
#endif
174176
testPolar(Float.self)
175177
testPolar(Double.self)

0 commit comments

Comments
 (0)