strtod(3c)/wcstod(3c) man pages should mention math.h
wcstod(3c) man pages there is this wording:
If the correct value is outside the range of representable values, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (according to the sign of the value), a floating point overflow exception is raised, and errno is set to ERANGE.
The problem is that those constants (
HUGE_VALL) are not readily available when there is just
wchar.h included respectively (as suggested by the man pages synopsis) because they are defined in
math.h is not mentioned anywhere in either man page. We should change that.
Updated by Electric Monk 9 months ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit fc14a9f656c392f9e8344484089464f018de6ef6 Author: Marcel Telka <firstname.lastname@example.org> Date: 2021-04-22T18:03:46.000Z 13699 strtod(3c)/wcstod(3c) man pages should mention math.h Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>