From: John Maddock (john_at_[hidden])
Date: 2008-04-30 07:42:37
Hervé Brönnimann wrote:
> floatdistance(lhs, rhs)?
> And as someone noted earlier, it should be the number of gaps, or
> rather: the number of times nextafter needs to be applied to lhs in
> order to obtain rhs. Otherwise, the "number of representations
> between lhs and rhs" is 0 in two cases, when rhs==lhs or when rhs ==
Yep, that's what it *does*, it's figuring out how to explain it correctly!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk