P
peter koch
asterisc skrev:
[snip]
On the contrary. "==" is the only way to compare equality. Use your
EPSILON stuff to test for proximity, not for anything else.
[snip]
/Peter
[snip]
Indeed, very improbable, but not impossible. Anyway, i just wanted to
express that if you need to check if two floating numbers are equal,
then don't rely on the '==';
On the contrary. "==" is the only way to compare equality. Use your
EPSILON stuff to test for proximity, not for anything else.
[snip]
/Peter