JDK 8 code review request for 7075098: Remove unused fdlibm files

Dr Andrew John Hughes ahughes at redhat.com
Fri Aug 5 01:46:10 UTC 2011


On 13:09 Thu 04 Aug     , Joe Darcy wrote:
> 
> The JDK makefiles specially compile the FDLIBM sources under lower 
> optimization levels to try to avoid such problems.  Over the years, we 
> have had our share of C compiler bugs tripping up FDLIBM, which have 
> been caught by our testing.  One of my long-term goals is to finish the 
> small matter of programming [2] to port FDLIBM from C to Java, which 
> would immunize the JDK from this class of problem.
> 

FWIW, GNU Classpath used Java versions of the StrictMath methods, though
it's now out of sync with the ones added in 1.6.

> Thanks for the review,
> 
> -Joe
> 
> [1] http://blogs.oracle.com/darcy/entry/finding_a_bug_in_fdlibm
> 
> [2] A piece of the SMOP:
> 6908131: Pure Java implementations of StrictMath.floor(double) & 
> StrictMath.ceil(double)
> http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ad1e30930c6c
> 

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37



More information about the core-libs-dev mailing list