Float compare broke!

bearophile bearophileHUGS at lycos.com
Mon Jun 11 07:47:22 PDT 2012


Adam D. Ruppe:

> This function should help:
> http://dlang.org/phobos/std_math.html#approxEqual

This is better:
http://dlang.org/phobos/std_math.html#feqrel

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list