From: David R. McGown <dmcgown@access.digex.net>
Subject: RE: Floating point exception
Date: Sun, 15 Dec 1996 17:33:54 -0500 (EST) [thread overview]
Message-ID: <4efe14ca72568d3ff1929c307c621814.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.961215124644.26796Q-100000@sexpistols.dontknow.com>
I ran into the same problem trying to compile the beta of XFMail-0.5. I was
getting a FPE in a section of code using a similar test to DBL_MIN.
The XFMail developer suggested using "DBL_MIN * 2", which worked in my case.
David
On 15-Dec-96 Dan McGuirk wrote:
>Anyone know why this program causes a floating point exception on the
>Alpha?
>
>
>#include <float.h>
>
>int main()
>{
> double a = 4.5;
>
> if(a > DBL_MIN) {
> return 1;
> }
>
> return 0;
>}
>
>--
dmcgown@access.digex.net David R. McGown
dmcgown@va.gibbscox.com -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1996-12-15 22:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.961215124644.26796Q-100000@sexpistols.dontknow.com>
1996-12-15 21:31 ` Floating point exception Paul B. Brown
1996-12-15 22:33 ` David R. McGown [this message]
1996-12-16 16:15 ` Richard Henderson
1996-12-16 19:21 Przemek Klosowski
[not found] <199612152221.RAA06013@churchy.gnu.ai.mit.edu>
1996-12-16 18:44 ` Jerry Feldman
-- strict thread matches above, loose matches on Subject: below --
1996-12-15 22:21 Craig Burley
1996-12-15 12:54 Dan McGuirk
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