Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Zarmfab Software Development <fabsoft@fabsoft2.zarm.uni-bremen.de>
Subject: Re: log(-1) raises SIGFPE
Date: Fri, 9 May 1997 18:28:44 +0200	[thread overview]
Message-ID: <9705091828.ZM22723@fabsoft2.zarm.uni-bremen.de> (raw)
In-Reply-To: <richard@stommel.tamu.edu>

On May 9, 10:19am, Richard Henderson wrote:
> Subject: Re: log(-1) raises SIGFPE
> Not directly.  You must compile with -mieee to get them which
> turns on software completion.  Incidentally, libm must be 
> built with -mieee as well in this case.
>-- End of excerpt from Richard Henderson

well, i made a libm_ieee.a with -mieee and rebuilt my little test, also with -mieee. 
Now, log(-1) returns NaN, but:
double r=0.0;x=1/r;
still results in x=0, and isinf(x) returns 0.

both 'illegal' operations still raise SIGFPE.

-- 
Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807    FAX: 49-421-218-3889
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany

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

  parent reply	other threads:[~1997-05-09 16:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <richard@stommel.tamu.edu>
1997-04-23 16:27 ` glibc &amp; binutils rpms --&gt; strip errors Zarmfab Software Development
1997-04-27  5:19 ` alpha patches for 2.1.36 Bryan W. Headley
1997-04-27  6:35   ` Richard Henderson
1997-04-27  8:41   ` Matthew Geier
1997-04-27 18:56   ` D. Champion
1997-04-27 17:08 ` Bryan W. Headley
1997-04-27 20:44   ` Bryan W. Headley
1997-05-09 16:28 ` Zarmfab Software Development [this message]
1997-05-13  0:22 log(-1) raises SIGFPE Jim Paradis
     [not found] <199705091519.KAA30572@stommel.tamu.edu>
1997-05-12 19:09 ` Carlos Alberto Carvalho
1997-05-14 21:20   ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-05-09 14:34 Zarmfab Software Development
1997-05-09 15:19 ` 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