|
Boost : |
Subject: Re: [boost] boost-test, why is there no DOUBLES_EQUAL?
From: Henrik Sundberg (storangen_at_[hidden])
Date: 2011-04-09 11:28:31
On Sat, Apr 9, 2011 at 12:03 PM, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:
> Jeffrey Lee Hellrung, Jr. <jeffrey.hellrung <at> gmail.com> writes:
>> In any case, usual or not, do we accept that absolute
>> tolerances are sometimes preferable to relative tolerances?
>> I would.
>
> I would not. In my experience I've never seen a necessity for one
> (excluding the case where you want to check if something is small.
How about when doing calculations with money?
/$
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk