[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: java.lang.StrictMath
From: |
Alexandre Oliva |
Subject: |
Re: java.lang.StrictMath |
Date: |
15 Feb 2002 14:09:09 -0200 |
User-agent: |
Gnus/5.0805 (Gnus v5.8.5) Emacs/20.7 |
On Feb 15, 2002, Bryce McKinlay <address@hidden> wrote:
> Do you have any examples of how GCC is *not* strictfp compliant
There are a few platforms, the most prominent of which is alpha, on
which GCC offers an option to enable or disable strict IEEE
compliance. On alpha, it's -mieee. Even x86 has -mieee-fp, to handle
unordered compares correctly in all cases.
Oh, wait. You were talking specifically about Java.
> So, unless I misunderstand something and there is more to it, we
> should make -ffast-math the default for Java except where strictfp is
> encountered.
I'm not sure going all the way to -ffast-math would be appropriate,
but certainly disabling strict IEEE compliance by default, on
platforms on which it makes a difference, would be perfectly
reasonable.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist Professional serial bug killer
Re: java.lang.StrictMath, Bryce McKinlay, 2002/02/14