Floating point trouble with x86's extended precision
Robert Dewar
dewar@gnat.com
Fri Aug 22 14:56:00 GMT 2003
> I've found FP bugs in all of the x86 compilers that I've ever used. I
> am not sure if there are any that get it right, so I am skeptical that
> gcc will ever get it right. I haven't tried any of the compilers from
> companies that specialize in FP though, maybe some of them get it right.
One way to get this right is to use the stack model of evaluation, and
then write a handler that extends the stack on overflow transparently.
I did this for the Alsys Ada compiler and it works fine. Of course this
is very different from the gcc model :-(
(this is just to respond to the claim that no compilers get this right!)
More information about the Gcc
mailing list