
Boost : 
Subject: Re: [boost] boost interval arithmetic
From: Marc Glisse (marc.glisse_at_[hidden])
Date: 20150114 06:16:56
On Tue, 13 Jan 2015, ðÁ×ÅÌ ëÕÄÁÎ wrote:
> The difference in behaviour of comparison operators and basic arithmetic operators looks as probable misconception.
>
> Default and changeable behaviour of comparison operators consists in throwing exception in intermediate situation (intersecting intervals, ! (a>b) == (a <= b) is not applicable). Great decision for correct migration from float numeric code.
>
> The only and unchangeable behaviour of arithmetic operators consists in silent returning only one of possible intervals in intermediate situation (possible return is not single, multiple interval result). The source of mistakes and undesired behaviour at migration from float numeric.
>
> At least, throwing exception by arithmetic operators at intermediate situation would provide behaviour unity of comparison and arithmetic operators and functions.
Hello,
I have a hard time understanding your post. Could you try explaining it
again, maybe with more concrete examples of what boost is doing, what you
would like instead and why?
(I don't think this code is maintained, at least the email addresses of
all the maintainers are outdated)
 Marc Glisse
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk