approxEqual() has fooled me for a long time...

Walter Bright newshound2 at digitalmars.com
Thu Oct 21 12:39:01 PDT 2010


Robert Jacques wrote:
> Since D has the "is" operator, does it make sense to actually 'fix' "==" 
> to be fuzzy?

I don't think so, because nobody will ever agree on what "fuzzy" means. 
Arbitrarily setting a meaning for it will perpetuate the notion that floating 
point operations have seemingly random results.


More information about the Digitalmars-d mailing list