News for hackers. Stuff that matters.
Re:One does not simply calculate the absolute value by Koshkin on Sunday August 22, 2021 @08:00PM (#28270916)
In programming, the result of a comparison of floating point numbers in general and a comparison with zero in particular is problem (and scale) dependent. Some values that are close to zero are actually zero, within a certain margin of error (the “epsilon”). I wish computers directly operated on intervals instead of single points.

There are no comments on this comment yet.