News for hackers. Stuff that matters.
Re:John Gustafson’s crusade to replace floating point with s... by deathanatos on Wednesday July 10, 2019 @05:59PM (#20407050)
Python will happily do this too, if you remove the ".0" in the example, the values become integers, instead of floats, and the computation is precise.

The point is to demonstrate a property of IEEE floats, not the language. I'd expect CL has some means of using IEEE floats too, and with the appropriate syntax, the same issues could be demonstrated.

There are no comments on this comment yet.