Numbers were binary floats, so ceil(1.1*100) gave 111 and floor(0.3/0.1) gave 2. Literals are now exact fractions as written (1.1 is 11/10): + - * / // % and whole-number powers have no rounding error; only math functions and fractional powers use floats. The power size guard covers exact fractions too (2^-100000 is refused, not 0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.0 KiB
3.0 KiB