From owner-freebsd-java Wed Mar 29 3: 2: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from light.muraoka.info.waseda.ac.jp (light.muraoka.info.waseda.ac.jp [133.9.68.50]) by hub.freebsd.org (Postfix) with ESMTP id 00DF237C0BF for ; Wed, 29 Mar 2000 03:02:05 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from localhost (IDENT:shudoh@localhost [127.0.0.1]) by light.muraoka.info.waseda.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id UAA02666 for ; Wed, 29 Mar 2000 20:31:45 +0900 To: freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues In-Reply-To: <200003212338.KAA04014@ares.maths.adelaide.edu.au> References: <200003212338.KAA04014@ares.maths.adelaide.edu.au> X-Mailer: Mew version 1.95b2 on XEmacs 21.1 (Acadia) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000329203145C.shudoh@muraoka.info.waseda.ac.jp> Date: Wed, 29 Mar 2000 20:31:45 +0900 From: SHUDO Kazuyuki X-Dispatcher: imput version 991007(IM132) Lines: 22 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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