ludic/changes/expect-floats.md
Orkuncakilkaya 31d842fca4 fix(test): expect_eq and expect_near compare floats as floats
On a float or double they emitted an i32 compare and clang refused the
IR; they compare as the wider float kind now and a failure prints the
numbers with %g. Reseed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 05:06:15 +03:00

304 B

bump: patch type: fix expect_eq and expect_near take floats. On a float or a double they compared with an integer instruction, and the build failed in clang ("defined with type 'float' but expected 'i32'"); they compare as floats now (the wider kind of the two) and a failure prints the numbers.