This commit is contained in:
pommicket 2022-02-15 22:41:18 -05:00
parent 95e7ec1ab5
commit 42911ccf67
4 changed files with 415 additions and 12 deletions

View file

@ -424,6 +424,7 @@ double strtod(const char *nptr, char **endptr) {
sum = t;
}
if (sum == _INFINITY) errno = ERANGE;
if (endptr) *endptr = nptr;
return sum * sign;
}