diff options
Diffstat (limited to 'tests/float/float_parse.py')
-rw-r--r-- | tests/float/float_parse.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/float/float_parse.py b/tests/float/float_parse.py index de27c33e7b..6131da0a63 100644 --- a/tests/float/float_parse.py +++ b/tests/float/float_parse.py @@ -31,6 +31,9 @@ print(float("1e-4294967301")) print(float("1e18446744073709551621")) print(float("1e-18446744073709551621")) +# mantissa overflow while processing deferred trailing zeros +print(float("10000000000000000000001")) + # check small decimals are as close to their true value as possible for n in range(1, 10): print(float("0.%u" % n) == n / 10) |