News for hackers. Stuff that matters.
Re:There Are Only Four Billion Floats–So Test Them All (2014) by eru on Monday February 13, 2023 @08:41AM (#34773229)
Your experience seems a bit limited then?

Obviously, you need to account for tolerances, but that accounting does not need to be via an epsilon in your count, it can also take the form of careful numerical analysis. For example, in some numerical algorithms, it is right and proper to run them until an equality test (without epsilon) succeeds. And using any positive epsilon would give a worse result.

There are no comments on this comment yet.