Re: floating point precision with -O2 optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Mon, 4 Jan 2010 06:46:46 -0800,
"John (Eljay) Love-Jensen" <eljay@xxxxxxxxx> a écrit :

> Hi Frederic,
> 
> > So first my question is: is it normal to have different numerical computation
> in O2 vs O0 ?
> 
> The short answer is:
> yes, it is normal to have different floating-point numerical computation in
> O2 vs O0.  There are GCC switches to produce consistent results, at the cost
> of performance.

which are ?

> 
> The long answer is:
> http://docs.sun.com/source/806-3568/ncg_goldberg.html
> 

Thanks for your answer


Frédéric

-- 
GPG public key   1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel <picca@xxxxxxxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux