Re:Beware of Fast-Math
by 01HNNWZ0MV43FF on Saturday May 31, 2025 @04:11PM
(#44146673)
Lua is telling me 0.1 + 0.1 == 0.2, but 0.1 + 0.2 != 0.3. That's 64-bit precision. The issue is not with precision, but with 1/10th being a repeating decimal in binary.
[ Parent
| on HN ]