Date: Wed, 05 Jan 2000 10:36:17 -0800 From: "Ronald F. Guilmette" <rfg@monkeys.com> To: Thomas David Rivers <rivers@dignus.com> 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? Message-ID: <778.947097377@monkeys.com> In-Reply-To: Your message of Wed, 05 Jan 2000 11:42:33 -0500. <200001051642.LAA26756@lakes.dignus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?778.947097377>