Files
sp00nz 5d507e7ab0 runtime: PC=24 rounds the significand, not the exponent range
RECOMP_FP_PC rounded with a plain (float) cast. The x87 under PC=24
narrows only the significand; the exponent keeps the register's range.
Outside float's range the cast turned a large intermediate into inf (and
inf*0 into NaN) and flushed a tiny one to zero, where the hardware carries
on. Values in float range still take the cast; the rest go through
frexp/ldexp.

tests/fp_precision checks the Burnout 3 compare case and both range ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 02:04:30 -07:00
..