From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12130 invoked from network); 7 Mar 1999 22:16:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Mar 1999 22:16:26 -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 RAA26301 for ; Sun, 7 Mar 1999 17:10:49 -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 RAA09319; Sun, 7 Mar 1999 17:00:40 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id RAA29036; Sun, 7 Mar 1999 17:00:39 -0500 (EST) Message-Id: <199903072200.RAA29036@adder.cs.Virginia.EDU> Subject: Re: SIGFPE error on exponential underflow in g77 To: axp-list@redhat.com Date: Sun, 7 Mar 1999 17:00:39 -0500 (EST) Cc: henning@perf.zko.dec.com In-Reply-To: from "Phillip Ezolt" at Mar 5, 99 05:08:00 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > If you are experiencing trouble with this, it would be in your best interest > to link in either the CPML or the FFM. First, they are MUCH faster than (on > some things) than libm, and they both seem to round to zero appropriately. You seem to be assuming that zero is the "right answer". It is if -mieee is not specified. But if -mieee is specified, then there should be routines which return a denorm. I'm surprised that CPML doesn't have such routines. (?) If -mieee is specified, a preprocessor symbol is available. math.h can use this to specify a different routine. -- g