From 325c4473a5b760a2251a6e0e418abf218741fb1f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 6 Mar 2017 15:46:01 +0100 Subject: tests/float/complex1: Split out intbig test. --- tests/float/complex1_intbig.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/float/complex1_intbig.py (limited to 'tests/float/complex1_intbig.py') diff --git a/tests/float/complex1_intbig.py b/tests/float/complex1_intbig.py new file mode 100644 index 000000000..ed2390bba --- /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)) -- cgit v1.2.3