From: Matt Grossman <mattg@oz.net>
Subject: Re: FP exceptions on redhat 5.1
Date: 1998/09/11 [thread overview]
Message-ID: <m3ww79ncqs.fsf@mattg.oz.net> (raw)
In-Reply-To: 35F9BAB0.5DDE@wizard.com
"H.W. Stockman" <hwstock@wizard.com> writes:
> Conrad Steenberg wrote:
> >
> > Hi all
> >
> > I have this really annoying problem with egcs-1.02 that came with Redhat 5.1:
> > A floating point exception would be raised whenever an underflow occurs.
> >
> > My question is this: is there an easy way to disable FP exceptions? I can live
> > with having a few NaN's generated now and again, but I don't want to litter
> > the code with if's to test for underflows...
>
> Isn't there a compiler switch to disable IEEE handling
> of denormals? Most alpha compilers make such a condition
> the default, since there alpha doesn't handle denormals
> in hardware.
Yes, -mieee and friends. Do an "info gcc" and look under
Invoking GCC/Submodel Options options for further information.
It will probably make your code run slower.
Matt Grossman
mattg@oz.net
http://www.oz.net/~mattg
next prev parent reply other threads:[~1998-09-11 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-11 4:00 FP exceptions on redhat 5.1 Conrad Steenberg
1998-09-12 4:00 ` H.W. Stockman
1998-09-11 4:00 ` Matt Grossman [this message]
1998-09-12 4:00 ` Christian Hasse
1998-09-12 4:00 ` Michal Jaegermann
1998-09-13 4:00 ` Greg Lindahl
1998-09-16 4:00 ` Andreas Krall
1998-09-16 4:00 ` James D. Freels
1998-09-17 4:00 ` Robert Harley
1998-09-17 4:00 ` Michal Jaegermann
1998-09-17 4:00 ` Andreas Krall
1998-09-12 4:00 ` Conrad Steenberg
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