News for hackers. Stuff that matters.
Re:John Gustafson’s crusade to replace floating point with s... by martinpw on Tuesday July 09, 2019 @02:31AM (#20389449)
There was code in between that could have changed the value, but it was never triggered in the bug case.
Re:John Gustafson’s crusade to replace floating point with s... by pvg on Tuesday July 09, 2019 @03:47AM (#20389740)
Ah yeah, that makes sense. Relying on FP equality should always make one's eye twitch a little but this is a neat way of hiding it.