From w.northcott at unsw.edu.au  Thu Jan  6 10:46:58 2005
From: w.northcott at unsw.edu.au (Bill Northcott)
Date: Thu Jan  6 10:48:48 2005
Subject: [Rd] Standalone Mathlib, C++ and ISNAN()
In-Reply-To: <16860.48925.390153.388499@devzero.bogus.domain>
References: <77B2A8C4-5ED8-11D9-97FA-000393D3D676@unsw.edu.au>
	<Pine.A41.4.61b.0501050759060.100170@homer05.u.washington.edu>
	<C2214FA4-5F4F-11D9-97FA-000393D3D676@unsw.edu.au>
	<Pine.A41.4.61b.0501051149490.59084@homer03.u.washington.edu>
	<DB4A6959-5F60-11D9-97FA-000393D3D676@unsw.edu.au>
	<Pine.A41.4.61b.0501051405010.59084@homer03.u.washington.edu>
	<82D986EA-5F6F-11D9-97FA-000393D3D676@unsw.edu.au>
	<16860.48925.390153.388499@devzero.bogus.domain>
Message-ID: <E87B67C7-5FC7-11D9-97FA-000393D3D676@unsw.edu.au>

On 06/01/2005, at 3:31 PM, John W. Eaton wrote:
> What I finally decided to do for Octave was to use a C language
> autoconf test for isnan, then provide a function declared "extern C"
> that is a wrapper around the C isnan function (if it exists).  I also
> use this method for other functions that may be easier to call from C
> than directly from C++.
>
Thanks for confirming my suspicions.

As far as I can see that is just what R has done with the R_IsNaN 
function.  I am just asking that it be included in the standalone Rmath 
library.

Bill Northcott


[Rd] Standalone Mathlib, C++ and ISNAN()
Bill Northcott