Commit 42f548bf authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #1491 from veprbl/c99_isinf

Revert "test: assert that isinf returns -1 for negative infinity"
parents 15a40e21 9b9dd7ac
...@@ -37,8 +37,7 @@ def test_fp_classif(): ...@@ -37,8 +37,7 @@ def test_fp_classif():
assert not npmath.isnan(d_zero) assert not npmath.isnan(d_zero)
assert not npmath.isnan(f_zero) assert not npmath.isnan(f_zero)
assert npmath.isinf(npmath.INFINITY) == 1 assert npmath.isinf(npmath.INFINITY)
assert npmath.isinf(-npmath.INFINITY) == -1
assert npmath.isnan(npmath.NAN) assert npmath.isnan(npmath.NAN)
assert npmath.signbit(npmath.copysign(1., -1.)) assert npmath.signbit(npmath.copysign(1., -1.))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment