[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Quadratic and cubic equations
From: |
Andrew Haley |
Subject: |
Re: Fwd: Quadratic and cubic equations |
Date: |
Thu, 8 Jan 2004 18:49:09 +0000 |
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <address@hidden> writes:
>
> Andrew> It looks to me like this is a test of exact java strictfp
> Andrew> compliance. gcj fails, because it isn't strictfp compliant.
>
> On top of that, to guarantee the same results everywhere we would need
> to declare both the test case and the code in Classpath `strictfp'.
Yes.
> That incurs a performance penalty on some platforms. I'm not sure it
> is worthwhile. Do more-exact results matter that much in this code?
No. The whole thing is misconceived because it's so unstable: an
argument error of one part in 10^12 is causing this problem.
Andrew.