Boost logo

Boost :

Subject: Re: [boost] boost interval arithmetic
From: Thijs (M.A.) van den Berg (thijs_at_[hidden])
Date: 2015-01-15 06:21:20


> On 15 Jan 2015, at 12:04, Павел Кудан <coodan_at_[hidden]> wrote:
>
> There is also another kind of misconception in description (and behaviour) of same /= operator of boost interval class.
>
> I can prove it if you will agree that [-inf, inf] is not empty interval at any rate :)
>

The meaning of [-inf,inf] as the interval in which the answer will be requires that there is an answer in the first place.

You should no use a different definition other than the boost definition if you want to validate the boost implementation. If you don't then there is a bug in your way of thinking.


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