summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-18 21:46:27 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-18 21:46:27 +0330
commit9eb9be33d7623a4759b0794073bd32489b865b3d (patch)
tree95591f2f9dc79215f7cbd35b2ab6c46efeac288d /test
parent7903ae7711f323697bbc42ad756c8ea0138c70dc (diff)
add plus minus to floats
fix memory leaks
Diffstat (limited to 'test')
-rw-r--r--test/main.felan2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.felan b/test/main.felan
index 4b635bb..9d77aea 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -3,7 +3,7 @@ main :: () -> void {
b :f64 = 54.5;
c :f128 = 1.0;
d :f16 = 5.5;
- if a == 23
+ if -a == -23.0
print_u64 1;
else
print_u64 2;