This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Floating point trouble with x86's extended precision


> 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!)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]