This is the mail archive of the
mailing list for the Mauve project.
Re: Bug in DoubleTest/FloatTest?
Andrew Haley wrote:
Right. The JDK has done this for a long while.
There are several other known cases where the JDK does not meet its own
specs. The jacks compiler test suite (from the same location as the
jikes compiler) highlights a few of those - and since javac uses the JDK
when compiling, it creates miscompiled .class files! If you search
Sun's bug database, you will find more mention of this problem in their
> 4) Leave it alone.
Yes: the JDK does not meet its specfication.
For example, the JDK is wrong on:
""+123456789f (it should be "1.2345679E8", not "1.23456792E8")
""+9.999999999999999e22 ("1.0E23", not "9.999999999999999E22")
This signature intentionally left boring.
Eric Blake email@example.com
BYU student, free software programmer