From owner-freebsd-hackers Wed Jan 5 10:37: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from monkeys.com (i180.value.net [206.14.136.180]) by hub.freebsd.org (Postfix) with ESMTP id A880915599 for ; Wed, 5 Jan 2000 10:36:46 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (localhost [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id KAA00780; Wed, 5 Jan 2000 10:36:17 -0800 (PST) To: Thomas David Rivers Cc: cracauer@cons.org, freebsd-hackers@FreeBSD.ORG, saska@acc.umu.se Subject: Re: Should -mieee-fp equal fpsetmask(0) to avoid SIGFPE on FreeBSD? In-reply-to: Your message of Wed, 05 Jan 2000 11:42:33 -0500. <200001051642.LAA26756@lakes.dignus.com> Date: Wed, 05 Jan 2000 10:36:17 -0800 Message-ID: <778.947097377@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200001051642.LAA26756@lakes.dignus.com>, you wrote: > I don't believe the C89 standard doesn't have a way to test for NaN... That is correct, but most actual C libraries DO provide some function that will check for that condition. > ... so, if we're talking portability here - you can't test for NaN. Yes, but only if you are talking about ``portability'' in its purest form. In practice, you could easily construct an `is_this_a_NaN()' function that would work on all platforms of interest. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message