Comparing double and float values

bearophile bearophileHUGS at lycos.com
Thu May 12 09:27:32 PDT 2011


Andrei:

> Also, you may want to peruse the function approxEqual in std.math.

I suggest feqrel:
http://www.digitalmars.com/d/2.0/phobos/std_math.html#feqrel

Bye,
bearophile


More information about the Digitalmars-d mailing list