Files
javis_bot/tests
javis-bot fc4b77f826 fix(tools): calculator keeps decimals exact as written
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>
2026-11-23 11:45:54 +09:00
..