diff options
| author | gingerBill <bill@gingerbill.org> | 2025-04-15 11:51:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-04-15 11:51:05 +0100 |
| commit | cfb8cc709c51e112789d68f2cdbe97d40d753167 (patch) | |
| tree | a0becfc97a061e0a2261b224e6632ed98f6e8544 /src/exact_value.cpp | |
| parent | 39363c401874584e3871caf694f297777a899d2c (diff) | |
| parent | 2d5b85f9f99b505aa2e75f09d4c0d39d249cb72e (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index f4439688c..37751c8f1 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -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) { |