Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Dave Arnett <darnett@as.arizona.edu>
To: axp-list@redhat.com
Subject: Re: SIGFPE error on exponential underflow in g77
Date: Fri, 05 Mar 1999 08:57:21 -0700	[thread overview]
Message-ID: <36DFFEE1.237C@as.arizona.edu> (raw)
In-Reply-To: 199903051311.IAA19637@adder.cs.Virginia.EDU

>>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

Yeah, I really did isolate the problem; that was how I made the Fortran
to C comparison (the codes were just a few lines).
I have the two libraries and will test it this weekend.
Assuming it goes as you (and I) expect, how do we deal with the
f2c/g77 glue?

Dave Arnett


  reply	other threads:[~1999-03-05 16:05 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04 22:02 SIGFPE error on exponential underflow in g77 Dave Arnett
1999-03-04 22:40 ` Andrei A. Dergatchev
1999-03-04 22:56 ` Greg Lindahl
1999-03-04 23:06 ` Joachim Wesner
1999-03-05 13:11   ` Greg Lindahl
1999-03-05 15:57     ` Dave Arnett [this message]
1999-03-05 16:24       ` Greg Lindahl
1999-03-05 22:08         ` Phillip Ezolt
1999-03-05 22:56           ` Alpa Processor no longer Number one :( Aaron
1999-03-05 22:27             ` Alpa Processor no longer Number one, nonsense phoenix2063
1999-03-05 23:35               ` Ron Farrer
1999-03-06 17:46               ` Kevin.Brown
1999-03-06 19:02                 ` mgraffam
1999-03-06 21:21                   ` Joachim Wesner
1999-03-06 21:47                     ` mgraffam
1999-03-06 22:22                       ` Kevin
1999-03-08 10:20               ` Jochen Kuepper
1999-04-09 12:35                 ` Michael Wilhelm
1999-03-05 23:07             ` Alpa Processor no longer Number one :( Andrew Hobgood
1999-03-05 23:11             ` Greg Lindahl
1999-03-05 23:18             ` Ron Farrer
1999-03-06 14:28               ` Aaron
1999-03-06  0:02             ` Dan O'Reilly
1999-03-06  1:00             ` Guide to life, love, and Intel marketing techniques (Alpa Processor no longer...) Daniel J. Frasnelli
1999-03-08 11:24             ` Alpa Processor no longer Number one :( Phil Carmody
1999-03-07 22:00           ` SIGFPE error on exponential underflow in g77 Greg Lindahl
1999-03-08  6:51             ` Wes Bauske
1999-03-08 13:19               ` Greg Lindahl
1999-03-09  7:31               ` Neil Carlson
1999-03-08 20:23                 ` Wes Bauske
1999-03-08 21:26                   ` Joachim Wesner
1999-03-08 18:00 ` Dave Arnett
1999-03-08 18:31   ` Greg Lindahl
1999-03-08 19:30     ` Phillip Ezolt
1999-03-08 20:13       ` Greg Lindahl
1999-03-08 21:47         ` Phillip Ezolt
1999-03-08 21:58           ` Dave Arnett
1999-03-13 17:13           ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox