summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float2int.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/float2int.py')
-rw-r--r--tests/float/float2int.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/float/float2int.py b/tests/float/float2int.py
new file mode 100644
index 0000000000..59d904e58a
--- /dev/null
+++ b/tests/float/float2int.py
@@ -0,0 +1,5 @@
+# This case occurs with time.time() values
+print(int(1418774543.))
+
+# TODO: General case with large exponent
+#print(int(2.**100))