Skip to content

Commit ce61486

Browse files
committed
Skip also on FreeBSD
1 parent 3198308 commit ce61486

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Lib/test/test_math.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2691,10 +2691,12 @@ def test_fma_infinities(self):
26912691
self.assertEqual(math.fma(-b, -math.inf, c), math.inf)
26922692
self.assertEqual(math.fma(-b, math.inf, c), -math.inf)
26932693

2694-
# gh-73468: WASI libc fma() doesn't implement IEE 754-2008 properly:
2695-
# it doesn't use the right sign when the result is zero.
2694+
# gh-73468: On WASI and FreeBSD, libc fma() doesn't implement IEE 754-2008
2695+
# properly: it doesn't use the right sign when the result is zero.
26962696
@unittest.skipIf(support.is_wasi,
2697-
"WASI libc fma() doesn't implement IEE 754-2008 properly")
2697+
"WASI fma() doesn't implement IEE 754-2008 properly")
2698+
@unittest.skipIf(sys.platform.startswith('freebsd'),
2699+
"FreeBSD fma() doesn't implement IEE 754-2008 properly")
26982700
def test_fma_zero_result(self):
26992701
nonnegative_finites = [0.0, 1e-300, 2.3, 1e300]
27002702

0 commit comments

Comments
 (0)