circuitpython/tests/float/complex1_intbig.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
141 B
Python
Raw Permalink Normal View History

# test basic complex number functionality
# convert bignum to complex on rhs
2021-03-15 09:57:36 -04:00
ans = 1j + (1 << 70)
print("%.5g %.5g" % (ans.real, ans.imag))