Hacker News new | ask | show | jobs
by gekkonier 1914 days ago
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.
2 comments

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.)

It must have been fixed ages ago as I can't reproduce it in Windows 95.
Yes, as far as I remember it was really only in WfW 3.11