This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: strange double comparison results with -O[12] on x86(-32)
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Dave Korn" <dave dot korn at artimi dot com>
- Cc: "'Andrew Pinski'" <pinskia at physics dot uc dot edu>, "'Christian Bodenstedt'" <c dot bodenstedt at cityweb dot de>, <gcc at gcc dot gnu dot org>
- Date: Mon, 13 Jun 2005 19:37:32 +0200
- Subject: Re: strange double comparison results with -O[12] on x86(-32)
- References: <SERRANOVdhUXtuhgYZB00000016@SERRANO.CAM.ARTIMI.COM>
* Dave Korn:
>> It is a bug in GCC, the C standard, or the x86 FP hardware. I'm
>> leaning towards the C standard or the hardware. 8-)
>
>
> ... or it's a bug in the libc/crt-startup, which is where the
> hardware rounding mode is (or should be) set up ...
I think you'd still experience latent excess precision for floats,
though.