We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9a133e commit a111ca2Copy full SHA for a111ca2
1 file changed
tests/float/cmath_fun.py
@@ -50,6 +50,6 @@
50
else:
51
# some test (eg cmath.sqrt(-0.5)) disagree with CPython with tiny real part
52
real = ret.real
53
- if abs(real) < 1e15:
+ if abs(real) < 1e-6:
54
real = 0.
55
print("complex(%.5g, %.5g)" % (real, ret.imag))
0 commit comments