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>
5 lines
304 B
Markdown
5 lines
304 B
Markdown
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.
|