Always mention std::isnan instead of just isnan to be portable.