
8 Dec
2008
8 Dec
'08
8:44 p.m.
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