Boost logo

Boost :

Subject: Re: [boost] boost-test, why is there no DOUBLES_EQUAL?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-09 11:42:21


On 04/09/2011 08:28 AM, Henrik Sundberg wrote:
> On Sat, Apr 9, 2011 at 12:03 PM, Gennadiy Rozental<rogeeff_at_[hidden]> wrote:
>> Jeffrey Lee Hellrung, Jr.<jeffrey.hellrung<at>> 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?

Dealing with money in floating point probably
isn't the best idea to begin with.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at