gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (#125151)

Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues
This commit is contained in:
Furkan Onder 2024-10-09 11:40:06 +03:00 committed by GitHub
parent e0c87c64b1
commit 92760bd85b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2722,7 +2722,7 @@ class FMATests(unittest.TestCase):
# gh-73468: On some platforms, libc fma() doesn't implement IEE 754-2008
# properly: it doesn't use the right sign when the result is zero.
@unittest.skipIf(
sys.platform.startswith(("freebsd", "wasi"))
sys.platform.startswith(("freebsd", "wasi", "netbsd"))
or (sys.platform == "android" and platform.machine() == "x86_64"),
f"this platform doesn't implement IEE 754-2008 properly")
def test_fma_zero_result(self):