Win32 doesn't have isnan(). C++11 does have std::isnan() though :)