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
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel