Boost logo

Boost :

From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2005-06-21 06:58:52


Gennadiy Rozental wrote:

> All of the above should pass, since the algotrithm used:
>
> x and y are close iff:
>
> |x-y| / |x| < tol/100 and |x-y| / |y| < tol/100
>
> Obviosly nothing could be close to zero and rest are failing also.

In that case I find the algorithm to be confusingly named, as in all
these cases the test value is 'closer' to zero than the delta. I would
not expect closeness to zero (or any other arbitrary number) to affect
a general proximity test.

AlisdairM


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk