Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michael Walter <Michael.Walter@physik.uni-freiburg.de>
Subject: Re: spurious FPE with g++
Date: 1999/08/06	[thread overview]
Message-ID: <37AAA6E3.891ED80D@physik.uni-freiburg.de> (raw)
In-Reply-To: 37AAA5DC.74CC02DB@physik.uni-freiburg.de

Michael Walter wrote:
> 
> Greg Lindahl wrote:
> >
> > 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
> Thanks a lot, the -mieee helped.
> 
> A comment on speed:
> We found the programs (Monte-Carlo calculations) to be very slow,
> using the standart libm.a math library, but the libfm and libffm
> helped to make the thing approx. 3 times faster !
> 
Sorry, forgot to say, you'll get it on
http://people.frankfurt.netsurf.de/Joachim.Wesner/

Michael

> Michael
> --
> ---------------------------------------------------------------
> Michael Walter
> e-mail: Michael.Walter@physik.uni-freiburg.de
> Tel.:   0761 203 7696
> Adr.:   Abteilung Prof. J.S. Briggs
>         Fak. f. Physik
>         Hermann-Herder-Str. 3
>         79104 Freiburg
> ---------------------------------------------------------------

-- 
---------------------------------------------------------------
Michael Walter
e-mail: Michael.Walter@physik.uni-freiburg.de
Tel.:   0761 203 7696
Adr.:   Abteilung Prof. J.S. Briggs
        Fak. f. Physik
        Hermann-Herder-Str. 3
        79104 Freiburg
---------------------------------------------------------------



      reply	other threads:[~1999-08-06  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
1999-08-06  4:00   ` Michael Walter
1999-08-06  4:00     ` Michael Walter [this message]
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