Am 11.06.2012 16:47, schrieb bearophile:
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


Wasn't there a bug with feqrel?

I think so, that's the reason why I implemented almost_equal in gl3n: https://github.com/Dav1dde/gl3n/blob/master/gl3n/math.d#L80

Reply via email to