News for hackers. Stuff that matters.
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.
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.)

Re:Calc.exe is now open source; there’s surprising depth in ... by Narishma on Thursday March 25, 2021 @09:41AM (#26580136)
It must have been fixed ages ago as I can't reproduce it in Windows 95.
Re:Calc.exe is now open source; there’s surprising depth in ... by gekkonier on Saturday March 27, 2021 @02:40PM (#26604390)
Yes, as far as I remember it was really only in WfW 3.11