Now using std::isnan