From: Tom Holroyd <tomh@taz.ccs.fau.edu>
To: Greg Lindahl <lindahl@cs.virginia.edu>
Cc: axp-list@redhat.com
Subject: Re: fp exception handling bug in 2.0.33
Date: Thu, 2 Jul 1998 10:33:32 +0900 (JST) [thread overview]
Message-ID: <Pine.LNX.3.96.980702101609.5055B-100000@bhalpha1.nibh.go.jp> (raw)
In-Reply-To: <199807011501.LAA08960@adder.cs.Virginia.EDU>
On Wed, 1 Jul 1998, Greg Lindahl wrote:
>In 2.0.33, I have a program which crashes the machine.
>
>In 2.0.34, this program dies with a floating-point exception. While
>this is far superior to killing the machine ...
My simple example was acos(-2.). Yea, I had the same experience with
2.0.32 -- after an FP exception, the machine would be unstable. 2.0.34
fixed that. The reason it kills the process now is that AXP is not IEEE.
IEEE compliance slows the computation down. You can add -mieee to your
compile switches to get this: you'll get the correct answer (NaN) and a
domain error flag set (and a
kernel: moo: arithmetic trap at 00000001200007b0: 02 0000040000000000
in /var/log/messages).
Actually I prefer the program to die. Dividing by zero (for example) is
an error I want to know about rather than having it simply keep going with
infinity or NaN.
Dr. Tom Holroyd
Behavior Control Lab, Human Informatics Dept. The basis of
National Institute of Bioscience and Human-Technology stability is
1-1 Higashi, Tsukuba-shi, Ibaraki 305, Japan instability.
The 9th Amendment of the U.S. Constitution:
"The enumeration in the Constitution, of certain rights, shall not be
construed to deny or disparage others retained by the people."
next prev parent reply other threads:[~1998-07-02 1:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-01 15:01 exception handling bug in 2.0.34 Greg Lindahl
1998-07-01 17:03 ` Chris Evans
1998-07-01 17:34 ` installation on PC164LX, SRM 5.1-3, serial console Dan Roscigno
1998-07-01 10:00 ` Jay.Estabrook
1998-07-01 19:28 ` B. James Phillippe
1998-07-01 19:37 ` Michal Jaegermann
1998-07-02 11:53 ` Stefan Reinauer
1998-07-02 13:03 ` Maciej W. Rozycki
1998-07-01 21:10 ` exception handling bug in 2.0.34 jrp
1998-07-02 1:33 ` Tom Holroyd [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-07-02 2:03 fp exception handling bug in 2.0.33 Greg Lindahl
1998-07-02 7:20 ` Richard Henderson
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