Today, I was looking through some C++ code (written by somebody else) and found this section:
double someValue = ... if (someValue < std::numeric_limits&
I think that depend on the precision of your computer. Take a look on this table: you can see that if your epsilon is represented by double, but your precision is higher, the comparison is not equivalent to
someValue == 0.0
Good question anyway!