We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e1d201 commit 2839fafCopy full SHA for 2839faf
integration_tests/test_cmath.py
@@ -64,7 +64,7 @@ def test_hyperbolic():
64
def test_polar():
65
x: c64
66
eps: f64
67
- eps = 1e-6
+ eps = 1e-12
68
x = complex(1, -2)
69
assert f64(abs(f64(phase(x)) - (-1.1071487177940904))) < eps
70
assert f64(abs(f64(polar(x)[0]) - (2.23606797749979))) < eps
libasr
0 commit comments