On 12/08/2013 01:55 AM, Joseph Rushton Wakeling wrote: > back to my original solution of approxEqual I don't know whether it helps here but just to complete the picture, there is also std.math.feqrel: http://dlang.org/phobos/std_math.html#.feqrel Ali