From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: spurious FPE with g++
Date: 1999/07/22 [thread overview]
Message-ID: <7n7voh$ah@news1.newsguy.com> (raw)
In-Reply-To: 3796DAB0.5FC44337@physik.uni-freiburg.de
Michael Walter <Michael.Walter@physik.uni-freiburg.de> writes:
> and get spurious Floating point exception with properly tested
> source code, which runs on SGI-IRIX as well as on Pentium-PC's
> with g++ version
That isn't proof. The SGI and g++ by default on Pentium PC's uses the
IEEE mode which allows infinity etc. By default on an Alpha, infinity
and NaN cause a fault. I would suggest using gdb to figure out exactly
what the fault is. You should also try the -mieee option to gcc.
A common, different problem is that the default Alpha math libraries
generate IEEE extreme values even when -mieee is not specified. You
can get around that by using the Compaq math libraries, which never
return extreme values.
-- g
next prev parent reply other threads:[~1999-07-22 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-22 4:00 spurious FPE with g++ Michael Walter
1999-07-22 4:00 ` Greg Lindahl [this message]
1999-08-06 4:00 ` Michael Walter
1999-08-06 4:00 ` Michael Walter
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