diff options
| -rw-r--r-- | numpy/core/src/common/npy_config.h | 4 | ||||
| -rw-r--r-- | numpy/core/tests/test_scalarmath.py | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/numpy/core/src/common/npy_config.h b/numpy/core/src/common/npy_config.h index fd0f1855c..a985c8274 100644 --- a/numpy/core/src/common/npy_config.h +++ b/numpy/core/src/common/npy_config.h @@ -135,10 +135,6 @@ /* np.power(..., dtype=np.complex256) doesn't report overflow */ #undef HAVE_CPOWL #undef HAVE_CEXPL - -/* Builtin abs reports overflow */ -#undef HAVE_CABSL -#undef HAVE_HYPOTL #endif /* Disable broken gnu trig functions */ diff --git a/numpy/core/tests/test_scalarmath.py b/numpy/core/tests/test_scalarmath.py index 90078a2ea..2311a04f7 100644 --- a/numpy/core/tests/test_scalarmath.py +++ b/numpy/core/tests/test_scalarmath.py @@ -680,18 +680,10 @@ class TestAbs: @pytest.mark.parametrize("dtype", floating_types + complex_floating_types) def test_builtin_abs(self, dtype): - if sys.platform == "cygwin" and dtype == np.clongdouble: - pytest.xfail( - reason="absl is computed in double precision on cygwin" - ) self._test_abs_func(abs, dtype) @pytest.mark.parametrize("dtype", floating_types + complex_floating_types) def test_numpy_abs(self, dtype): - if sys.platform == "cygwin" and dtype == np.clongdouble: - pytest.xfail( - reason="absl is computed in double precision on cygwin" - ) self._test_abs_func(np.abs, dtype) class TestBitShifts: |
