diff options
author | Marcel Telka <marcel@telka.sk> | 2021-04-21 15:53:56 +0200 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2021-04-22 14:03:46 -0400 |
commit | fc14a9f656c392f9e8344484089464f018de6ef6 (patch) | |
tree | 48291d3f7b475355fe2211c402e2a3c18648ccf8 /usr/src | |
parent | f5ac85908213ce2217329b835bf3c91f1c04b793 (diff) | |
download | illumos-joyent-fc14a9f656c392f9e8344484089464f018de6ef6.tar.gz |
13699 strtod(3c)/wcstod(3c) man pages should mention math.h
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/man/man3c/strtod.3c | 9 | ||||
-rw-r--r-- | usr/src/man/man3c/wcstod.3c | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/usr/src/man/man3c/strtod.3c b/usr/src/man/man3c/strtod.3c index 2c79bb7373..ac50710053 100644 --- a/usr/src/man/man3c/strtod.3c +++ b/usr/src/man/man3c/strtod.3c @@ -44,7 +44,7 @@ .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" -.TH STRTOD 3C "Aug 25, 2019" +.TH STRTOD 3C "Apr 21, 2021" .SH NAME strtod, strtof, strtold, atof \- convert string to floating-point number .SH SYNOPSIS @@ -206,7 +206,8 @@ conversion could be performed, \fB0\fR is returned. If the correct value is outside the range of representable values, \fB\(+-HUGE_VAL\fR, \fB\(+-HUGE_VALF\fR, or \fB\(+-HUGE_VALL\fR is returned (according to the sign of the value), a floating point overflow exception is -raised, and \fBerrno\fR is set to \fBERANGE\fR. +raised, and \fBerrno\fR is set to \fBERANGE\fR. \fBHUGE_VAL\fR, +\fBHUGE_VALF\fR, and \fBHUGE_VALL\fR are described in \fBmath.h\fR(3HEAD). .sp .LP If the correct value would cause an underflow, the correctly rounded result @@ -326,8 +327,8 @@ MT-Level MT-Safe with exceptions .TE .SH SEE ALSO -\fBisspace\fR(3C), \fBlocaleconv\fR(3C), \fBscanf\fR(3C), \fBsetlocale\fR(3C), -\fBstrtol\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) +\fBisspace\fR(3C), \fBlocaleconv\fR(3C), \fBmath.h\fR(3HEAD), \fBscanf\fR(3C), +\fBsetlocale\fR(3C), \fBstrtol\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) .SH NOTES The \fBstrtod()\fR and \fBatof()\fR functions can be used safely in multithreaded applications, as long as \fBsetlocale\fR(3C) is not called to diff --git a/usr/src/man/man3c/wcstod.3c b/usr/src/man/man3c/wcstod.3c index e052148c30..276e95e4c5 100644 --- a/usr/src/man/man3c/wcstod.3c +++ b/usr/src/man/man3c/wcstod.3c @@ -43,7 +43,7 @@ .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved .\" -.TH WCSTOD 3C "Aug 25, 2019" +.TH WCSTOD 3C "Apr 21, 2021" .SH NAME wcstod, wcstof, wcstold, wstod, watof \- convert wide character string to floating-point number @@ -219,7 +219,8 @@ conversion could be performed, \fB0\fR is returned. If the correct value is outside the range of representable values, \fB\(+-HUGE_VAL\fR, \fB\(+-HUGE_VALF\fR, or \fB\(+-HUGE_VALL\fR is returned (according to the sign of the value), a floating point overflow exception is -raised, and \fBerrno\fR is set to \fBERANGE\fR. +raised, and \fBerrno\fR is set to \fBERANGE\fR. \fBHUGE_VAL\fR, +\fBHUGE_VALF\fR, and \fBHUGE_VALL\fR are described in \fBmath.h\fR(3HEAD). .sp .LP If the correct value would cause an underflow, the correctly rounded result @@ -272,5 +273,5 @@ MT-Level MT-Safe .TE .SH SEE ALSO -\fBiswspace\fR(3C), \fBlocaleconv\fR(3C), \fBscanf\fR(3C), \fBsetlocale\fR(3C), -\fBwcstol\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) +\fBiswspace\fR(3C), \fBlocaleconv\fR(3C), \fBmath.h\fR(3HEAD), \fBscanf\fR(3C), +\fBsetlocale\fR(3C), \fBwcstol\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) |