From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199709170238.WAA28564@wiley.sas.it.mtu.edu> Date: Tue, 16 Sep 1997 22:38:52 -0400 (EDT) From: Andrew D. Isaacson Subject: Re: How to get DEC OSF1 floating point behavior? 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 / 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