|
Boost : |
Subject: Re: [boost] [review][constrained_value] Review of Constrained Value Library begins today
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-12-08 15:44:32
Robert Kawulak skrev:
>> From: Thorsten Ottosen
>
>> So I think my conclusion is the following: The fact that
>> floating point
>> calculations are not easily portable is not an argument
>> against having
>> constrained values of floats;
>
> It's not portability that has been the main concern here. It is the very small
> set of guarantees given by the standard regarding FP calculations, lacking some
> of the natural assumptions everybody has when working with FP. Also lacking some
> of the guarantees that would make preserving the invariant of constrained float
> an easy task.
It's not the library that can take this decision for the users. The
library does as much as it can to help the users. It still better than
status quo.
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk