From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32022 invoked from network); 4 Mar 1999 22:10:40 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Mar 1999 22:10:40 -0000 Received: from bohr.as.Arizona.EDU (bohr.as.arizona.edu [128.196.209.66]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id RAA10975 for ; Thu, 4 Mar 1999 17:06:24 -0500 Received: from bohr (localhost [127.0.0.1]) by bohr.as.Arizona.EDU (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id PAA15725 for ; Thu, 4 Mar 1999 15:02:43 -0700 Sender: dave@as.arizona.edu Message-ID: <36DF0303.15FB@as.arizona.edu> Date: Thu, 04 Mar 1999 15:02:43 -0700 From: Dave Arnett Organization: Steward Observatory X-Mailer: Mozilla 2.01S (X11; I; IRIX64 6.2 IP26) MIME-Version: 1.0 To: axp-list@redhat.com Subject: SIGFPE error on exponential underflow in g77 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hardware: Alpha, Aspen Systems Durango II, Samsung 21164A-533 Software: RH 5.2 (alpha), egcs-1.0.3, version 2.90.29 Can someone please tell me exactly where to find information on dealing with the following problem? g77 dumps core upon giving the exponential function a value less than -708 (double precision). However it politely sets to zero a product which underflows. f2c behaves the same. 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). On an intel, RH 5.1, the exponential function politely goes to zero on underflow, as I would like. I compiled and installed a newer release, egcs-1.1.1 version 2.91.60, which gave the same behavior. How can I modify this behavior upon exponential underflow? -- David Arnett