From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14598 invoked from network); 5 Mar 1999 13:15:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Mar 1999 13:15:51 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.136.41] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA08621 for ; Fri, 5 Mar 1999 08:11:20 -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 IAA19654 for ; Fri, 5 Mar 1999 08:11:19 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id IAA19637 for axp-list@redhat.com; Fri, 5 Mar 1999 08:11:19 -0500 (EST) Message-Id: <199903051311.IAA19637@adder.cs.Virginia.EDU> Subject: Re: SIGFPE error on exponential underflow in g77 To: axp-list@redhat.com Date: Fri, 5 Mar 1999 08:11:18 -0500 (EST) In-Reply-To: <36DF11DB.58ADAFDA@frankfurt.netsurf.de> from "Joachim Wesner" at Mar 5, 99 00:06:03 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > If you can really isolate this problem to the case when using exp, you > don't need to go back to -mieee (which slows down your code quite a > bit), but simply need a new math library. No. Fortran and C use the same underlying math library. He said that the same value did not give a SIGFPE from a C program. Thus, the guilty party has to be the f2c/g77 glue arond the libm exp(), and not the libm exp(). Of course, he can easily experiment and prove this, by using one of the alternate libraries you mention. -- g