public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: ake@purdue.edu
To: gcc-gnats@gcc.gnu.org
Cc: java@gcc.gnu.org
Subject: libgcj/4616: Floating Point Math class problem on Tru64 Alpha v 5.1
Date: Thu, 18 Oct 2001 20:06:00 -0000	[thread overview]
Message-ID: <20011019030255.4475.qmail@sourceware.cygnus.com> (raw)

>Number:         4616
>Category:       libgcj
>Synopsis:       Floating Point Math class problem on Tru64 Alpha v 5.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 18 20:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Ake
>Release:        3.0.2 prerelease
>Organization:
>Environment:
TRu64 Unix v 5.1
>Description:
his is the part of the code executing:
   public static double d1f (double arg) {
      double y,x;
     
      	  System.out.print("Argument arg is " + arg + " ");
	  y= Math.exp(arg);
	  System.out.print("Argument y is " + y + " ");
	  x=Math.pow((y+1.0),2.0);
	  System.out.print("Argument x is " + x + "\n");
	  return ( (2.0 * y)/x );
}
The problem is when x is infinity.
Argument arg is 378.0812928461101 
Var y is 1.5798621479294393E164 
Var  x is Infinity
Floating point exception (core dumped)
I tested on Linux x/86 and it is working, the problem is on Tru64 Unix
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-10-18 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18 20:06 ake [this message]
2002-01-05 12:56 Craig Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019030255.4475.qmail@sourceware.cygnus.com \
    --to=ake@purdue.edu \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).