Re:Calc.exe is now open source; there’s surprising depth in ...
by gekkonier on Thursday March 25, 2021 @09:14AM
(#26579831)
Back in stoneage, while using Windows 3.11 (I think it was calles Windows for Workgroups or so...) there was a bug in calc: 0.02-0.01 resulted in a flat zero. Perhaps it's time to open an issue.
[ Parent
| on HN ]
Re:Calc.exe is now open source; there’s surprising depth in ...
by mschaef on Thursday March 25, 2021 @09:35AM
(#26580048)
They addressed that quite a long time ago, with a switch away from floating point math: https://devblogs.microsoft.com/oldnewthing/20040525-00/?p=39...
Somewhat related, HP calculators used floating point BCD internally since the beginning, to avoid this sort of thing. (Custom mostly-4-bit CPU chips with specific hardware for the purpose, etc.)