>"Andrei Alexandrescu" wrote: > if (a == within(1e-5) == b) { ... } For me it looks strange. I think something like approxEqual is readable more clear here.