summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/complex1_intbig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/complex1_intbig.py')
-rw-r--r--tests/float/complex1_intbig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/float/complex1_intbig.py b/tests/float/complex1_intbig.py
new file mode 100644
index 0000000000..ed2390bbaf
--- /dev/null
+++ b/tests/float/complex1_intbig.py
@@ -0,0 +1,4 @@
+# test basic complex number functionality
+
+# convert bignum to complex on rhs
+ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))