98 times out of 100, Floating Point Exception errors on Alpha are caused
by either an uninitialized floating point variable (that happens to have
random garbage in it) being used in a calculation, or a floating point
"divide by zero" operation. Those are plain and simple program bugs and
using the IEEE compiler switches just masks the real problem.

Jeff Donsbach


> -----Original Message-----
> From: Mike Touloumtzis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 08, 2001 12:09 AM
> To: Daniel Burrows; Christopher C. Chimelis;
> [email protected]
> Subject: Re: aptitude on alpha (again, sigh)
> 
> 
> On Thu, Nov 01, 2001 at 04:03:29PM -0500, Daniel Burrows wrote:
> > On Thu, Nov 01, 2001 at 03:43:51PM -0500, "Christopher C. 
> Chimelis" <[EMAIL PROTECTED]> was heard to say:
> > > 
> > > It's an Alpha thing.  I started looking into this bug a 
> few weeks ago, but
> > > got busy with other things.  One thing I do know that 
> needs to be done is
> > > adding "-mieee" to CFLAGS and CXXFLAGS on Alpha.  It 
> would probably be
> > 
> >   Why does this fix the problem?  (ie, is this just working 
> around a bug
> > in the code?)  The documentation says it has something to do with
> > floating-point comparisons being "inexact".  Specifically, 
> it mentions
> > handling NaN and +-Inf correctly.  This seems to be 
> indicating that I
> > have a divide-by-zero somewhere!
> 
> In all three cases in which I tracked down and fixed one of 
> these bugs,
> the problem was use of an uninitialized floating-point value. 
>  So that's
> another possibility.
> 
> miket
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 

Reply via email to