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 cf7c44b commit a3300baCopy full SHA for a3300ba
integration_tests/CMakeLists.txt
@@ -418,6 +418,7 @@ RUN(NAME expr_15 LABELS cpython llvm c)
418
RUN(NAME expr_16 LABELS cpython c)
419
RUN(NAME expr_17 LABELS cpython llvm c)
420
RUN(NAME expr_18 FAIL LABELS cpython llvm c)
421
+RUN(NAME expr_19 LABELS cpython llvm c)
422
423
RUN(NAME expr_01u LABELS cpython llvm c NOFAST)
424
RUN(NAME expr_02u LABELS cpython llvm c NOFAST)
integration_tests/expr_19.py
@@ -0,0 +1,7 @@
1
+from lpython import (f64,)
2
+
3
+result : f64 = f64(14)
4
+divisor : f64 = f64(4)
5
+result /= divisor
6
7
+assert abs(result - f64(3.5)) < 1e-12
0 commit comments