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: numerical results differ after irrelevant code change


> -----Original Message-----
> From: Robert Dewar [mailto:dewar@adacore.com] 
> Sent: Sunday, May 08, 2011 11:13
> To: Michael D. Berger
> Cc: gcc@gcc.gnu.org
> Subject: Re: numerical results differ after irrelevant code change
> 
[...]
> 
> This kind of result is quite expected on an x86 using the old 
> style (default) floating-point (becauae of extra precision in 
> intermediate results).
> 

How does the extra precision lead to the variable result?
Also, is there a way to prevent it?  It is a pain in regression testing.

Thanks,
Mike.

--
Michael D. Berger
m.d.berger@ieee.org


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