This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
bug in DoubleTest, FloatTest
- From: Dalibor Topic <robilad at yahoo dot com>
- To: mauve-discuss at sources dot redhat dot com
- Date: Tue, 5 Nov 2002 06:59:35 -0800 (PST)
- Subject: bug in DoubleTest, FloatTest
Hi,
I think I've found a bug in mauve tests for
java.lang.Double and java.lang.Float. the
shortbytevalue test nr. 5 assumes that the truncated
byte value of a Float/Double created with 400.35 is
equal to 127, when it is -112 on both kaffe and
JDK1.3.1.
double d = 400.35;
System.out.println((byte) d);
also prints out -112 on both environments.
I can send you a patch for
gnu/testlet/java/lang/Double/DoubleTest.java and
gnu/testlet/java/lang/Double/FloatTest.java, if you
need one. It should be trivial fix.
best regards,
dalibor topic
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/