From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24039 invoked from network); 4 Mar 1999 23:00:44 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Mar 1999 23:00:44 -0000 Received: from ares.cs.Virginia.EDU (ftp.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA13794 for ; Thu, 4 Mar 1999 17:56:30 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id RAA07852 for ; Thu, 4 Mar 1999 17:56:29 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id RAA08837 for axp-list@redhat.com; Thu, 4 Mar 1999 17:56:28 -0500 (EST) Message-Id: <199903042256.RAA08837@adder.cs.Virginia.EDU> Subject: Re: SIGFPE error on exponential underflow in g77 To: axp-list@redhat.com Date: Thu, 4 Mar 1999 17:56:28 -0500 (EST) In-Reply-To: <36DF0303.15FB@as.arizona.edu> from "Dave Arnett" at Mar 4, 99 03:02:43 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Code in C which performs the same mathematics, using gcc with the same > hardware, quietly sets the underflow from the exponential function > to zero. (No, I cannot rewrite all the code in C in a finite time). This is a little different problem from usual. I suspect that g77 and f2c are both using some kind of wrapper around the libm exp() function, and this wrapper was compiled without -mieee, and it does something stupid. -- g