mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-17 01:45:11 -04:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
commit
cfb8cc709c
3 files changed
+48
-34
No files matched your search
+1
-1
@@ -955,7 +955,7 @@ gb_internal bool compare_exact_values(TokenKind op, ExactValue x, ExactValue y)
|
||||
f64 a = x.value_float;
|
||||
f64 b = y.value_float;
|
||||
if (isnan(a) || isnan(b)) {
|
||||
return false; // Fixes #5004
|
||||
return op == Token_NotEq;
|
||||
}
|
||||
|
||||
switch (op) {
|
||||
|
||||
Reference in new issue
Block a user