From owner-freebsd-mobile Mon Jul 5 13:22:30 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from ThinkPad.nowhere.local (dieringe.dialup.fu-berlin.de [160.45.221.216]) by hub.freebsd.org (Postfix) with ESMTP id 4C36914CB7; Mon, 5 Jul 1999 13:22:11 -0700 (PDT) (envelope-from martin@dieringe.dialup.fu-berlin.de) Received: from localhost (localhost [127.0.0.1]) by ThinkPad.nowhere.local (8.9.3/8.9.2) with ESMTP id WAA03388; Mon, 5 Jul 1999 22:22:25 +0200 (CEST) (envelope-from martin@dieringe.dialup.fu-berlin.de) Date: Mon, 5 Jul 1999 22:22:25 +0200 (CEST) From: Martin Dieringer X-Sender: martin@ThinkPad.nowhere.local Reply-To: Martin Dieringer To: freebsd-java@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: strange java calculation errors Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. On a few-weeks-old 3.2-STABLE. I have strange arithmetic errors. I sometimes get NaN-s and very big numbers (...E306) which don't appear on any other machine/os and don't appear with the linux-jdk1.2 pre-v2. They strangest thing is that they seem to appear more often when I just move the mouse around (it is an awt-application). the things calculated are: double denom = (.0836 * Math.pow(weight, 1.37)); double weightgain = .2849372 * meatEnergy * weight / denom; and the crash is produced for example with following numbers: weight: 7.676859326020309 denom: 1.3642934228726058 meatEnergy: 0.029994563969828213 --> weightgain: NaN (which should rather be ~.04809140910465598530) Did anybody have similar problems or has an idea what could cause this? This is on a ThinkPad 600, P-II 233. Mousemovement means trackpoint (ps/2) OR external ps/2 mouse. And yes, they appear since I use this Thinkpad. Thanks very much Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message