math.h
This commit is contained in:
parent
95e7ec1ab5
commit
42911ccf67
4 changed files with 415 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue