summaryrefslogtreecommitdiff
path: root/tests/float/float2int_doubleprec_intbig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/float2int_doubleprec_intbig.py')
-rw-r--r--tests/float/float2int_doubleprec_intbig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/float/float2int_doubleprec_intbig.py b/tests/float/float2int_doubleprec_intbig.py
index 24d30fe69..84fa2d253 100644
--- a/tests/float/float2int_doubleprec_intbig.py
+++ b/tests/float/float2int_doubleprec_intbig.py
@@ -96,6 +96,7 @@ else:
fp2int_test(1.9999999999999981 * 2.0 ** 1023.0, "large pos", False)
fp2int_test(float("inf"), "inf test", True)
+fp2int_test(float("-inf"), "inf test", True)
fp2int_test(float("nan"), "NaN test", True)
# test numbers < 1 (this used to fail; see issue #1044)