Why to change this to `std::isnan`. VS compiler doesn't have a `std::isnan`.