diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-06 15:46:01 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-06 15:46:01 +0100 |
commit | 325c4473a5b760a2251a6e0e418abf218741fb1f (patch) | |
tree | 02c59744efcf73bd3861ce5b1b8869d1e1db5e9f /tests/float/complex1_intbig.py | |
parent | 96aa3a31023d9b170c4e3d0ef5090a2f21f0b64b (diff) | |
download | micropython-325c4473a5b760a2251a6e0e418abf218741fb1f.tar.gz micropython-325c4473a5b760a2251a6e0e418abf218741fb1f.zip |
tests/float/complex1: Split out intbig test.
Diffstat (limited to 'tests/float/complex1_intbig.py')
-rw-r--r-- | tests/float/complex1_intbig.py | 4 |
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)) |