I tried that too, but without any success. I even tried __gnu_cxx::isnan.
I believe (with a little Googling) the suggested C++ approach is to use std::isnan if <cmath> is included.
It was suggested by one of the gcc people, but I could find no documentation about it. The ISO C++ docs do not include isnan as a symbol provided by cmath within the std namespace. I looked at the gcc source code and could see no reason why it should work.
Bill Northcott
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel