Date: Wed, 29 Mar 2000 20:31:45 +0900 From: SHUDO Kazuyuki <shudoh@muraoka.info.waseda.ac.jp> To: freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues Message-ID: <20000329203145C.shudoh@muraoka.info.waseda.ac.jp> In-Reply-To: <200003212338.KAA04014@ares.maths.adelaide.edu.au> References: <200003212338.KAA04014@ares.maths.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis wrote: > 12. Rounding bug. > Kees Jan Koster has kindly taken the time to run the JDK through > the Mauve test suite (http://sourceware.cygnus.com/mauve/). > "There seems to be a well-known rounding error in the string conversions > in type double. The Mauve test suite converts the double -3.5 to a > string and back and expects -4.0 to come out. I think the test code is gnu/testlet/java/lang/Math/rint.java. Isn't it? The rint.java checks comformance of the implementation of Math#rint(), the methods should return the closest *integer* to the argument. If the pre-alpha port returns -3.5 instead of -4.0, that is a porting bug, neither a FPU control word problem nor only compatibility problem with the Solaris version. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000329203145C.shudoh>