From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9705091828.ZM22723@fabsoft2.zarm.uni-bremen.de> Date: Fri, 9 May 1997 18:28:44 +0200 From: Zarmfab Software Development Subject: Re: log(-1) raises SIGFPE In-Reply-To: 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