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 99e8ee5 commit e4bd9b5Copy full SHA for e4bd9b5
integration_tests/test_math.py
@@ -239,6 +239,12 @@ def test_issue_1242():
239
assert abs(math.pi - 3.14159265358979323846) < 1e-10
240
assert abs(math.e - 2.7182818284590452353) < 1e-10
241
242
+ # https://github.com/lcompilers/lpython/pull/1243#discussion_r1008810444
243
+ pi: f64 = 8.4603959020429502
244
+ assert abs(pi - 8.4603959020429502) < 1e-10
245
+ assert abs(math.pi - 3.14159265358979323846) < 1e-10
246
247
+
248
249
def check():
250
test_factorial_1()
0 commit comments