mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 01:20:23 +08:00
5 lines
142 B
Python
5 lines
142 B
Python
# test basic complex number functionality
|
|
|
|
# convert bignum to complex on rhs
|
|
ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))
|