I'm fairly sure no-one would have noticed this if I hadn't mentioned it, but regardless, strtod gets the parsing of nan(0x7f) wrong when endptr is NULL. It's a pretty simple patch.
Created attachment 2327 [details] don't return early just because endptr is NULL
thanks, committed r1846
Created attachment 2327 [details] don't return early just because endptr is NULL