From owner-freebsd-questions Tue Feb 3 13:04:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02956 for questions-outgoing; Tue, 3 Feb 1998 13:04:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA02896 for ; Tue, 3 Feb 1998 13:03:55 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([209.12.57.57]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA124; Tue, 3 Feb 1998 16:01:11 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id QAA00847; Tue, 3 Feb 1998 16:02:26 -0500 (EST) (envelope-from root) Message-ID: <19980203160226.64289@scsn.net> Date: Tue, 3 Feb 1998 16:02:26 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Tom Bartol , Jonathan Lemon Cc: freebsd-questions@FreeBSD.ORG, mika@sdna2.ucsd.edu Subject: Re: IEEE Floating Point question: Inf and NaN Reply-To: dmaddox@scsn.net Mail-Followup-To: Tom Bartol , Jonathan Lemon , freebsd-questions@freebsd.org, mika@sdna2.ucsd.edu References: <19980202224740.54577@right.PCS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Tom Bartol on Mon, Feb 02, 1998 at 11:15:56PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Mon, Feb 02, 1998 at 11:15:56PM -0800, Tom Bartol wrote: > > Thanks to everyone for the very rapid response to this question. We have > decided to try the fpsetmask call in the math code and see how things work > out. We haven't yet tried the patch to npx.h suggested by Donald Maddox > but I'm wondering if any of you might be able give some more info on what > the pros and cons might be of the fpsetmask solution versus the npx.h > patch. What exactly does __BETTER_BDE_NPXCW__ do compared to a > call to fpsetmask? I looked through the mail archives and haven't come up > with any answers on my own. Well, I'm certainly no expert in this area, but I think the only real difference between using fpsetmask vs. __BETTER_BDE_NPXCW__ would be that the former would only affect the program that called it, while the latter, since it is compiled into the kernel, would make this behavior the default for all programs. If you want to run preexisting code without FBSD-specific patches, I would use __BETTER_BDE_NPXCW__.