1 https://www.illumos.org/issues/16874
3 --- numpy-2.0.2/numpy/_core/tests/test_umath.py.orig
4 +++ numpy-2.0.2/numpy/_core/tests/test_umath.py
7 with np.errstate(under='raise'):
8 assert_raises(FloatingPointError, np.exp, np.float16(-17.5))
9 - assert_raises(FloatingPointError, np.exp, np.float32(-1000.))
10 - assert_raises(FloatingPointError, np.exp, np.float32(-1E19))
11 assert_raises(FloatingPointError, np.exp, np.float64(-1000.))
12 assert_raises(FloatingPointError, np.exp, np.float64(-1E19))