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 e510c2b commit 9638342Copy full SHA for 9638342
integration_tests/CMakeLists.txt
@@ -480,6 +480,7 @@ RUN(NAME expr_18 FAIL LABELS cpython llvm c)
480
RUN(NAME expr_19 LABELS cpython llvm c)
481
RUN(NAME expr_20 LABELS cpython llvm c)
482
RUN(NAME expr_21 LABELS cpython llvm c)
483
+RUN(NAME expr_22 LABELS cpython llvm c)
484
485
RUN(NAME expr_01u LABELS cpython llvm c NOFAST)
486
RUN(NAME expr_02u LABELS cpython llvm c NOFAST)
integration_tests/expr_22.py
@@ -0,0 +1,10 @@
1
+from lpython import f64
2
+
3
+# test issue 1671
4
+def test_fast_fma() -> f64:
5
+ a : f64 = 5.00
6
+ a = a + a * 10.00
7
+ assert abs(a - 55.00) < 1e-12
8
+ return a
9
10
+print(test_fast_fma())
0 commit comments