We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b768cc6 commit 9849209Copy full SHA for 9849209
tests/float/float_parse.py
@@ -30,3 +30,7 @@
30
print(float('1e-4294967301'))
31
print(float('1e18446744073709551621'))
32
print(float('1e-18446744073709551621'))
33
+
34
+# check small decimals are as close to their true value as possible
35
+for n in range(1, 10):
36
+ print(float('0.%u' % n) == n / 10)
0 commit comments