gcj/151: strange result on Math.sin(1e50)
Tom Tromey
tromey@cygnus.com
Tue Feb 15 11:16:00 GMT 2000
The following reply was made to PR gcj/151; it has been noted by GNATS.
From: Tom Tromey <tromey@cygnus.com>
To: sidney@janis.pds.twi.tudelft.nl
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/151: strange result on Math.sin(1e50)
Date: Tue, 15 Feb 2000 11:03:05 -0800 (PST)
I tried this on my x86 Linux box.
I'm using the latest gcc and libgcj.
It worked fine for me:
creche. gcj -g -o m --main=m -Wl,-rpath,/x1/egcs/install//lib m.java
creche. ./m
-0.4805001434937588
Could you try writing the equivalent C program?
That would tell us whether the bug is in the Java code or is
elsewhere.
Tom
More information about the Java-prs
mailing list