Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: srt@zaphod.csci.unt.edu (Steve Tate)
Subject: Re: Possible BUG on Alpha C compiler?
Date: 1995/12/01	[thread overview]
Message-ID: <49ndhu$aue@hermes.acs.unt.edu> (raw)
In-Reply-To: 49b0ad$d1i@no-names.nerdc.ufl.edu

Christos Siopis (siopis) wrote:

> The program compiles without problem on a DEC Alpha OSF/1, but when
> I run it, I get a ``floating exception'' error. I have pinpointed the
> error to the following rather inconspicuous statement:

>                delta    = c[j] - q;

> Right before the statement is executed, j=0, c[j]=1.221301, q=0.000000
> and delta=533.333333. delta, q and c[1] are double variables and j is
> integer. 

There's obviously nothing wrong with that statement using those values
(and yes, it works fine on an Alpha) --- try to get the smallest
COMPLETE program that has this same problem, so that it can be
reproduced by others, and then maybe someone can help you.  It's very
likely that something in one of the preceding lines is actually
causing the error....

--
Steve Tate  ---  srt@cs.unt.edu | "As often as a study is cultivated by narrow
Dept. of Computer Sciences      |  minds, they will draw from it narrow
University of North Texas       |  conclusions."  -- John Stuart Mill, 1865.
Denton, TX  76201               | 



  parent reply	other threads:[~1995-12-01  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-27  5:00 Possible BUG on Alpha C compiler? Christos Siopis
1995-11-27  5:00 ` Ron Natalie
1995-11-30  5:00   ` Martin Farrall
1995-11-30  5:00     ` Ron Natalie
1995-12-01  5:00 ` Steve Tate [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-11-27  5:00 Christos Siopis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox