Date: Wed, 3 Mar 1999 20:44:55 +1100 (EDT) From: Andrew MacIntyre <andymac@bullseye.apana.org.au> To: cjclark@home.com Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: FP Math Message-ID: <Pine.OS2.3.95.990303202655.289B-100000@CENTRAL> In-Reply-To: <199903021703.MAA02135@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Mar 1999, Crist J. Clark wrote: > I have been having some trouble with floating point > operations, namely the dreaded, > > Floating exception (core dumped) > > Having a look at 'man math' only really served to confuse me more. The I recall a thread some time ago where a number of related issues were canvassed. Notwithstanding Greg Black's comments on what happens with "undefined" parts of the C standard, I think the basis of your difficulty has to do with the fact that FreeBSD's math library has traditionally operated with all exceptions unmasked, whereas many other platforms have defaulted to masking certain FP exceptions, at least in some circumstances. I suggest you man fpsetmask for more info. I also note from another message in this thread 2.2.8 behaves differently than 2.2.7 and earlier - the default FP mask may have been changed to match the default apparently used by other contemporary OSes. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andrew.macintyre@aba.gov.au (work) | Snail: PO Box 370 andymac@bullseye.apana.org.au (play) | Belconnen ACT 2616 Fido: Andrew MacIntyre, 3:620/243.18 | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OS2.3.95.990303202655.289B-100000>