Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Problem with floating point exceptions
Date: Wed, 6 Jan 1999 16:23:21 -0700 (MST)	[thread overview]
Message-ID: <199901062323.QAA27622@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199901062147.QAA22418@mamba.cs.virginia.edu> from "Greg Lindahl" at Jan 6, 99 04:47:09 pm

Greg Lindahl wrote:
> 
> > I get floating
> > point exceptions in sections of the code which evaluate exp(-x) for large
> > positive values of x.
> 
> FAQ. You need to use the -mieee flag in order to use denormalized
> numbers at all.
....
> 
> Note that -mieee will slow down your code by a factor of 2 or more.

If you have only underflows and you want them silently converted
to zero you may install your private "do-nothing" signal handler
for FPE.  Note that this act the same way for **all** floating point
exceptions and this may be not what you really want.

  Michal


  reply	other threads:[~1999-01-06 23:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-06 21:29 Problem with floating point exceptions John Montgomery
1999-01-06 21:47 ` Greg Lindahl
1999-01-06 23:23   ` Michal Jaegermann [this message]
1999-01-07 10:19     ` John Connett
1999-01-06 21:57 ` Adam C. Powell, IV
1999-01-07  1:06   ` Joachim Wesner
1999-01-07 15:54   ` Samba Izaak Bozof
1999-01-07 16:53     ` Samba feedback
1999-01-07 16:56     ` Samba Michal Jaegermann
1999-01-07 17:57     ` Samba Maurice Hilarius
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