From: Andrew D. Isaacson <adisaacs@mtu.edu>
Subject: Re: How to get DEC OSF1 floating point behavior?
Date: Tue, 16 Sep 1997 22:38:52 -0400 (EDT) [thread overview]
Message-ID: <199709170238.WAA28564@wiley.sas.it.mtu.edu> (raw)
In-Reply-To: <9709170137.AA04133@batu.hip.atr.co.jp>
Once upon a time, Eric Woudenberg said:
>
> Hi,
>
> I'm a happy Alpha Linux 4.2 user but I'd like to get "normal" Unix
> behavior on floating point overflow. This statement:
>
> double a = 1.0/exp(720);
>
> on OSF1, SunOS, and HP-UX quietly sets a to 0.0. On Linux is causes
> an FPE trap, even if I set SIGFPE to SIG_IGN.
compile with gcc -mieee. This will probably result in slower code.
See the axp-list archives at
http://www.redhat.com/mailing-lists/axp-list/
for more on this topic; also do a dejanews search in comp.os.linux.alpha
regarding floating point.
-andy
--
Andy Isaacson <adisaacs@mtu.edu> <adi@acm.org> / Linux/Alpha, C, Perl, Java
Fight Spam, join CAUCE: http://www.cauce.org / Ultimate Frisbee, Footbag
http://www.csl.mtu.edu/~adisaacs/ / I speak for noone but myself
--
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
prev parent reply other threads:[~1997-09-17 2:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-17 1:37 How to get DEC OSF1 floating point behavior? Eric Woudenberg
1997-09-17 2:38 ` Andrew D. Isaacson [this message]
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