From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9585 invoked from network); 2 Jul 1998 01:34:03 -0000 Received: from ripspost.aist.go.jp (150.29.9.2) by mail2.redhat.com with SMTP; 2 Jul 1998 01:34:03 -0000 Received: from bhalpha1.nibh.go.jp ([150.29.66.225]) by ripspost.aist.go.jp (8.8.8+2.7Wbeta7/3.6W) with SMTP id KAA14563; Thu, 2 Jul 1998 10:33:54 +0900 (JST) Date: Thu, 2 Jul 1998 10:33:32 +0900 (JST) From: Tom Holroyd X-Sender: tomh@bhalpha1.nibh.go.jp To: Greg Lindahl cc: axp-list@redhat.com Subject: Re: fp exception handling bug in 2.0.33 In-Reply-To: <199807011501.LAA08960@adder.cs.Virginia.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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."