From owner-freebsd-hackers Fri Oct 10 13:44:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06859 for hackers-outgoing; Fri, 10 Oct 1997 13:44:33 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA06850 for ; Fri, 10 Oct 1997 13:44:27 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA03260; Fri, 10 Oct 1997 22:44:20 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id WAA01153; Fri, 10 Oct 1997 22:42:49 +0200 (MET DST) Message-ID: <19971010224248.AO49560@uriah.heep.sax.de> 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 References: <199710101907.OAA09470@millenia.srrc.usda.gov> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199710101907.OAA09470@millenia.srrc.usda.gov>; from Glenn Johnson on Oct 10, 1997 14:07:33 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 ... 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. ;-)