This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in DoubleTest, FloatTest


>>>>> "Dalibor" == Dalibor Topic <robilad@yahoo.com> writes:

Dalibor> I think I've found a bug in mauve tests for java.lang.Double
Dalibor> and java.lang.Float. the shortbytevalue test nr. 5 assumes
Dalibor> that the truncated byte value of a Float/Double created with
Dalibor> 400.35 is equal to 127, when it is -112 on both kaffe and
Dalibor> JDK1.3.1.

I think this bug is already fixed in cvs.
I looked and now the code reads `... != (byte) 400'.
This isn't ideal -- checking the correct value would be better.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]