Support for INFINITY and NAN in c++ standalone