Check for ERANGE when calling strtod
Call eu_stack_reset_scratch before number_parse_resume returns EU_OK