News for hackers. Stuff that matters.
Re:Calc.exe is now open source; there’s surprising depth in ... by tyingq on Thursday March 25, 2021 @10:58AM (#26581077)
I tried it in the "Archive.org Windows 3.11 in a browser" and it returns "0.01".

https://archive.org/details/win3_stock

Re:Calc.exe is now open source; there’s surprising depth in ... by tyingq on Thursday March 25, 2021 @04:47PM (#26585173)
Ah, now confirmed...exists in Windows 3.1, fixed in 3.11

You can try Windows 3.1 here: https://www.pcjs.org/software/pcx86/sys/windows/3.10/

And, indeed, 2.11 - 2.1 = 0.00

But, if you then add 1.0, you get 1.01. So the right value is there somewhere.

Re:Calc.exe is now open source; there’s surprising depth in ... by tyingq on Friday March 26, 2021 @10:23AM (#26592503)
There was a dead comment from another HN person that was actually quite helpful here. Not sure why it was dead, so here's a copy/paste:

"It was fixed in this update for Windows 3.1, which switched away from floating point: https://jeffpar.github.io/kbarchive/kb/124/Q124345/"

Re:Calc.exe is now open source; there’s surprising depth in ... by yuhong on Friday March 26, 2021 @02:42AM (#26589387)
It was fixed in this update for Windows 3.1, which switched away from floating point: https://jeffpar.github.io/kbarchive/kb/124/Q124345/