Date: Sun, 4 Oct 1998 19:51:39 +0200 From: Martin Cracauer <cracauer@cons.org> To: Dan Strick <dan@math.berkeley.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: IEEE floating point arithmetic Message-ID: <19981004195139.A11665@cons.org> In-Reply-To: <199810031853.LAA04652@math.berkeley.edu>; from Dan Strick on Sat, Oct 03, 1998 at 11:53:29AM -0700 References: <199810031853.LAA04652@math.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In <199810031853.LAA04652@math.berkeley.edu>, Dan Strick wrote: > I am under the impression that the FreeBSD (gnu) C-compiler does > IEEE 754 compatible floating poing arithmetic and that this means > that floating point operations like (1.0 / 0.0) should return a > special value that means +infinity. What I get is a core dump. > Am I supposed to include some special math library or give some > special cc command option? man fpsetmask(3) Please check the freebsd-current mail archives from the beginning of September, it has lots of material about the issue. Subjects: "Floating Point Exceptions, signal handlers & subsequent ops" "Proposed implementation of trapcodes for SIGFPE" Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981004195139.A11665>