Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: jochen@hurlebaus.de
Cc: axp-list@redhat.com
Subject: Re: Floating Exceptions
Date: Wed, 1 Sep 1999 10:50:22 -0400 (EDT)	[thread overview]
Message-ID: <199909011450.KAA17518@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <Pine.LNX.4.04.9909011422550.32315-100000@ibt013.ibt.kfa-juelich.de> from "hurlebau@hurlebaus.de" at Sep 1, 99 02:27:32 pm

> I'm using Redhat Linux 5.2 on a AXP-Alpha and have problems with
> floating exceptions. I'm using CPML which prevents some 
> floating exceptions. Still, by divison by a small number e.g. I
> get 
> 
> floating exception (core dumped) 

Which should be no surprise; you can simply exceed the allowed
exponent range.

There are a few ways to solve this:

1) use gcc and -mieee, if it worked right. You seem to have found a
bug; if you can isolate it to a small example, maybe it will get
fixed.

2) Use compaq's C compiler, which isn't out yet.

3) use double precision. Perhaps this will give you enough exponent
range to dodge the problem.

> Also signal.h with a handler routine do not work.

Right. It's hard to get that right...

-- g


  reply	other threads:[~1999-09-01 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-01 12:27 Floating Exceptions hurlebau
1999-09-01 14:50 ` Greg Lindahl [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-01 15:09 floating exceptions hurlebau
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