1 parent 96aa3a3 commit 325c447Copy full SHA for 325c447
2 files changed
tests/float/complex1.py
@@ -49,9 +49,6 @@
49
print(float('inf') * (1 + 1j))
50
print(float('-inf') * (1 + 1j))
51
52
-# convert bignum to complex on rhs
53
-ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))
54
-
55
# can't assign to attributes
56
try:
57
(1j).imag = 0
tests/float/complex1_intbig.py
@@ -0,0 +1,4 @@
1
+# test basic complex number functionality
2
+
3
+# convert bignum to complex on rhs
4
+ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))
0 commit comments