Workaround for libnix strtod not parsing INFINITY