Am 11.06.2012 18:42, schrieb David:
Am 11.06.2012 16:47, schrieb bearophile:Adam D. Ruppe:This function should help: http://dlang.org/phobos/std_math.html#approxEqualThis is better: http://dlang.org/phobos/std_math.html#feqrel Bye, bearophileWasn'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
Found it: Fixed: http://d.puremagic.com/issues/show_bug.cgi?id=5089