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
index 59d904e58a..ca2914c01a 100644
--- a/tests/float/float2int.py
+++ b/tests/float/float2int.py
@@ -3,3 +3,8 @@ print(int(1418774543.))
# TODO: General case with large exponent
#print(int(2.**100))
+
+print("%d" % 1418774543.)
+
+# TODO: General case with large exponent
+#print("%d" % 2.**100)