From owner-freebsd-java Wed Mar 29 3:27:41 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 8C53937B6DF for ; Wed, 29 Mar 2000 03:27:29 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNLUQGAGEO00112R@research.kpn.com> for freebsd-java@FreeBSD.ORG; Wed, 29 Mar 2000 13:27:23 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Wed, 29 Mar 2000 13:27:22 +0100 Content-return: allowed Date: Wed, 29 Mar 2000 13:27:21 +0100 From: "Koster, K.J." Subject: RE: Pre-alpha JDK 1.2.2 patches -- issues To: 'SHUDO Kazuyuki' , freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522013139F0@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > 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? > Yes. > > 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. > All-right. We came to that conclusion. :-) How would you suggest we fix this? Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message