4 ms·
Math is not terribly precise I'm afraid :) > 1111111111111111111111111111111*9 > 10,000,000,000,000,000,000,000,000,000,000
by huhtenberg 4y ago
Math is not terribly precise I'm afraid :)
> 1111111111111111111111111111111*9
> 10,000,000,000,000,000,000,000,000,000,000
- joshspankit 4y agoThat doesn’t seem like a floating point inaccuracy. What’s going on there?
- tonyonodi 4y agoNumPad uses Decimal.js to represent numbers https://mikemcl.github.io/decimal.js/ https://mikemcl.github.io/decimal.js/