J
James Kanze
[...]
Bullshit. (OK, I suppose that there may be problems if one or
both of the floating point values is a NaN---if one is a
trapping NaN, there are guaranteed to be problems. But this has
nothing to do with the equality operator---anything you do with
a trapping NaN is going to cause problems.)
I'd suggest that you learn how floating point types work before
stating such inanities.
The equality operator applied to floating point types simply
isn't affordable. It may work in such a particular case, but
you're not guaranteed it will.
Bullshit. (OK, I suppose that there may be problems if one or
both of the floating point values is a NaN---if one is a
trapping NaN, there are guaranteed to be problems. But this has
nothing to do with the equality operator---anything you do with
a trapping NaN is going to cause problems.)
Built-in floating point types simply don't give such kind of
certainty,
I'd suggest that you learn how floating point types work before
stating such inanities.