There is an approxEqual in std.math, in addition in feqrel:

http://dlang.org/phobos/std_math.html#.approxEqual

It takes maximum absolute and relative difference as arguments.

Reply via email to