Date: Fri, 10 Oct 1997 22:42:48 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Cc: gjohnson@nola.srrc.usda.gov (Glenn Johnson) Subject: Re: Floating point exceptions Message-ID: <19971010224248.AO49560@uriah.heep.sax.de> In-Reply-To: <199710101907.OAA09470@millenia.srrc.usda.gov>; from Glenn Johnson on Oct 10, 1997 14:07:33 -0500 References: <199710101907.OAA09470@millenia.srrc.usda.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
As Glenn Johnson wrote: > Is there a way for me to change the FreeBSD source code to mask > FPE's rather than trap them? Better yet, can I do that for a > specific application at compile time? Not at compile-time, but at run-time: #include <machine/floatingpoint.h> ... fpsetmask(0); -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971010224248.AO49560>