Porposal: Floating-Point Options
Marcin Dalecki
martin@dalecki.de
Tue Jun 14 22:55:00 GMT 2005
On 2005-06-14, at 19:29, Russell Shaw wrote:
>
> The original bug was about testing the equality of doubles. I think
> that's
> just plain mathematically bad. Error bands should be used to test for
> "equality", using a band that is in accordance with the minimum
> precision
> specified in the compiler documentation.
>
To be a bit more precise: don't use the precision specified in the
compiler
but the precision you expect for the overall algorithms numerical
stability.
More information about the Gcc
mailing list