circuitpython/tests/float/complex1_intbig.py
2021-03-15 19:27:36 +05:30

6 lines
141 B
Python

# test basic complex number functionality
# convert bignum to complex on rhs
ans = 1j + (1 << 70)
print("%.5g %.5g" % (ans.real, ans.imag))