mirror of https://github.com/mkerrisk/man-pages
grfix
This commit is contained in:
parent
19153d9948
commit
efe294cb80
|
@ -77,13 +77,13 @@ is +1,
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is positive infinity or negative infinity,
|
is positive infinity or negative infinity,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is outside the range [\-1,\ 1],
|
is outside the range [\-1,\ 1],
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -85,7 +85,7 @@ is positive infinity, positive infinity is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is less than 1,
|
is less than 1,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and the functions return a NaN.
|
and the functions return a NaN.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -79,7 +79,7 @@ is +0 (\-0),
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
outside the range [\-1,\ 1],
|
outside the range [\-1,\ 1],
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.\"
|
.\"
|
||||||
.\" POSIX.1-2001 documents an optional range error for subnormal x;
|
.\" POSIX.1-2001 documents an optional range error for subnormal x;
|
||||||
|
|
|
@ -81,7 +81,7 @@ is +0 (\-0), +0 (\-0) is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is +1 or \-1,
|
is +1 or \-1,
|
||||||
a "pole error" occurs,
|
a pole error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -92,7 +92,7 @@ respectively, with the mathematically correct sign.
|
||||||
If the absolute value of
|
If the absolute value of
|
||||||
.I x
|
.I x
|
||||||
is greater than 1,
|
is greater than 1,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.\"
|
.\"
|
||||||
.\" POSIX.1-2001 documents an optional range error for subnormal x;
|
.\" POSIX.1-2001 documents an optional range error for subnormal x;
|
||||||
|
|
|
@ -67,7 +67,7 @@ If \fIx\fP is integral, +0, \-0, NaN, or infinite,
|
||||||
\fIx\fP itself is returned.
|
\fIx\fP itself is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
No errors occur.
|
No errors occur.
|
||||||
POSIX.1-2001 documents a "range error" for overflows, but see NOTES.
|
POSIX.1-2001 documents a range error for overflows, but see NOTES.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
C99, POSIX.1-2001.
|
C99, POSIX.1-2001.
|
||||||
The variant returning
|
The variant returning
|
||||||
|
|
|
@ -72,7 +72,7 @@ is a NaN, a NaN is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is positive infinity or negative infinity,
|
is positive infinity or negative infinity,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -85,7 +85,7 @@ is positive infinity or negative infinity,
|
||||||
positive infinity is returned.
|
positive infinity is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB + HUGE_VAL ,
|
.RB + HUGE_VAL ,
|
||||||
.RB + HUGE_VALF ,
|
.RB + HUGE_VALF ,
|
||||||
|
|
|
@ -87,7 +87,7 @@ is positive infinity (negative infinity),
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is subnormal,
|
is subnormal,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the return value is 2*x/sqrt(pi).
|
and the return value is 2*x/sqrt(pi).
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -86,7 +86,7 @@ If the function result underflows but produces a representable
|
||||||
(i.e., subnormal) value,
|
(i.e., subnormal) value,
|
||||||
.\" e.g., erfc(27) on x86-32
|
.\" e.g., erfc(27) on x86-32
|
||||||
that value is returned, and
|
that value is returned, and
|
||||||
a "range error" occurs.
|
a range error occurs.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
.BR math_error (7)
|
.BR math_error (7)
|
||||||
|
|
|
@ -83,11 +83,11 @@ is negative infinity,
|
||||||
+0 is returned.
|
+0 is returned.
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and zero is returned.
|
and zero is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB + HUGE_VAL ,
|
.RB + HUGE_VAL ,
|
||||||
.RB + HUGE_VALF ,
|
.RB + HUGE_VALF ,
|
||||||
|
|
|
@ -92,7 +92,7 @@ If
|
||||||
.I x
|
.I x
|
||||||
is negative infinity, \-1 is returned.
|
is negative infinity, \-1 is returned.
|
||||||
|
|
||||||
If the result overflows, a "range error" occurs,
|
If the result overflows, a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
|
|
|
@ -41,7 +41,7 @@ or
|
||||||
is a NaN, a NaN is returned.
|
is a NaN, a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
|
|
@ -66,7 +66,7 @@ If \fIx\fP is integral, +0, \-0, NaN, or an infinity,
|
||||||
\fIx\fP itself is returned.
|
\fIx\fP itself is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
No errors occur.
|
No errors occur.
|
||||||
POSIX.1-2001 documents a "range error" for overflows, but see NOTES.
|
POSIX.1-2001 documents a range error for overflows, but see NOTES.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
C99, POSIX.1-2001.
|
C99, POSIX.1-2001.
|
||||||
The variant returning
|
The variant returning
|
||||||
|
|
10
man3/fma.3
10
man3/fma.3
|
@ -75,7 +75,7 @@ times
|
||||||
is an exact infinity, and
|
is an exact infinity, and
|
||||||
.I z
|
.I z
|
||||||
is an infinity with the opposite sign,
|
is an infinity with the opposite sign,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
|
|
||||||
If one of
|
If one of
|
||||||
|
@ -85,7 +85,7 @@ or
|
||||||
is an infinity, the other is 0, and
|
is an infinity, the other is 0, and
|
||||||
.I z
|
.I z
|
||||||
is not a NaN,
|
is not a NaN,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If one of
|
If one of
|
||||||
|
@ -96,7 +96,7 @@ is an infinity, and the other is 0, and
|
||||||
.I z
|
.I z
|
||||||
is a NaN,
|
is a NaN,
|
||||||
.\" POSIX.1 makes the domain error optional for this case.
|
.\" POSIX.1 makes the domain error optional for this case.
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
|
@ -109,11 +109,11 @@ is a NaN,
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs, and
|
a range error occurs, and
|
||||||
an infinity with the correct sign is returned.
|
an infinity with the correct sign is returned.
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs, and
|
a range error occurs, and
|
||||||
a signed 0 is returned.
|
a signed 0 is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -82,13 +82,13 @@ is a NaN, a NaN is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is an infinity,
|
is an infinity,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I y
|
.I y
|
||||||
is zero,
|
is zero,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
|
|
|
@ -100,7 +100,7 @@ and the other argument is not an infinity,
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -111,7 +111,7 @@ respectively.
|
||||||
If both arguments are subnormal, and the result is subnormal,
|
If both arguments are subnormal, and the result is subnormal,
|
||||||
.\" Actually, could the result not be subnormal if both arguments
|
.\" Actually, could the result not be subnormal if both arguments
|
||||||
.\" are subnormal? I think not -- mtk, Jul 2008
|
.\" are subnormal? I think not -- mtk, Jul 2008
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the correct result is returned.
|
and the correct result is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
10
man3/ilogb.3
10
man3/ilogb.3
|
@ -68,15 +68,15 @@ as a signed integer.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is zero, then a "domain error" occurs, and the functions return
|
is zero, then a domain error occurs, and the functions return
|
||||||
.\" the POSIX.1 spec for logb() says logb() gives "pole error" for this
|
.\" the POSIX.1 spec for logb() says logb() gives pole error for this
|
||||||
.\" case, but for ilogb() it says "domain error".
|
.\" case, but for ilogb() it says domain error.
|
||||||
.BR FP_ILOGB0 .
|
.BR FP_ILOGB0 .
|
||||||
.\" glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
|
.\" glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is a NaN, then a "domain error" occurs, and the functions return
|
is a NaN, then a domain error occurs, and the functions return
|
||||||
.BR FP_ILOGBNAN .
|
.BR FP_ILOGBNAN .
|
||||||
.\" glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
|
.\" glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
|
||||||
.\" On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
|
.\" On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
|
||||||
|
@ -84,7 +84,7 @@ is a NaN, then a "domain error" occurs, and the functions return
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is negative infinity or positive infinity, then
|
is negative infinity or positive infinity, then
|
||||||
a "domain error" occurs, and the functions return
|
a domain error occurs, and the functions return
|
||||||
.BR INT_MAX .
|
.BR INT_MAX .
|
||||||
.\"
|
.\"
|
||||||
.\" POSIX.1-2001 also says:
|
.\" POSIX.1-2001 also says:
|
||||||
|
|
|
@ -114,7 +114,7 @@ If
|
||||||
.I x
|
.I x
|
||||||
is too large in magnitude,
|
is too large in magnitude,
|
||||||
or the result underflows,
|
or the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the return value is 0.
|
and the return value is 0.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -84,11 +84,11 @@ is positive infinity (negative infinity),
|
||||||
positive infinity (negative infinity) is returned.
|
positive infinity (negative infinity) is returned.
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
an "range error" occurs,
|
an range error occurs,
|
||||||
and zero is returned.
|
and zero is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
|
|
@ -92,7 +92,7 @@ positive infinity is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is a non-positive integer,
|
is a non-positive integer,
|
||||||
a "pole error" occurs,
|
a pole error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB + HUGE_VAL ,
|
.RB + HUGE_VAL ,
|
||||||
.RB + HUGE_VALF ,
|
.RB + HUGE_VALF ,
|
||||||
|
@ -101,7 +101,7 @@ or
|
||||||
respectively.
|
respectively.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
.\" e.g., lgamma(DBL_MAX)
|
.\" e.g., lgamma(DBL_MAX)
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
|
|
|
@ -83,7 +83,7 @@ positive infinity is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is zero,
|
is zero,
|
||||||
then a "pole error" occurs, and the functions return
|
then a pole error occurs, and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
or
|
or
|
||||||
|
@ -93,7 +93,7 @@ respectively.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is negative (including negative infinity), then
|
is negative (including negative infinity), then
|
||||||
a "domain error" occurs, and a NaN (not a number) is returned.
|
a domain error occurs, and a NaN (not a number) is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
.BR math_error (7)
|
.BR math_error (7)
|
||||||
|
|
|
@ -80,7 +80,7 @@ is positive infinity, positive infinity is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is \-1, a "pole error" occurs,
|
is \-1, a pole error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
|
@ -91,7 +91,7 @@ respectively.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is less than \-1 (including negative infinity),
|
is less than \-1 (including negative infinity),
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN (not a number) is returned.
|
and a NaN (not a number) is returned.
|
||||||
.\" POSIX.1 specifies a possible range error if x is subnormal
|
.\" POSIX.1 specifies a possible range error if x is subnormal
|
||||||
.\" glibc 2.8 doesn't do this
|
.\" glibc 2.8 doesn't do this
|
||||||
|
|
|
@ -89,7 +89,7 @@ a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is zero, then a "pole error" occurs, and the functions return
|
is zero, then a pole error occurs, and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
or
|
or
|
||||||
|
|
|
@ -75,7 +75,7 @@ or the rounded value is too large to be stored in a
|
||||||
in the case of the
|
in the case of the
|
||||||
.B ll*
|
.B ll*
|
||||||
functions)
|
functions)
|
||||||
then a "domain error" occurs, and the return value is unspecified.
|
then a domain error occurs, and the return value is unspecified.
|
||||||
.\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
|
.\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -76,7 +76,7 @@ or the rounded value is too large to be stored in a
|
||||||
in the case of the
|
in the case of the
|
||||||
.B ll*
|
.B ll*
|
||||||
functions)
|
functions)
|
||||||
then a "domain error" occurs, and the return value is unspecified.
|
then a domain error occurs, and the return value is unspecified.
|
||||||
.\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
|
.\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -97,7 +97,7 @@ If
|
||||||
is finite,
|
is finite,
|
||||||
.\" e.g., DBL_MAX
|
.\" e.g., DBL_MAX
|
||||||
and the result would overflow,
|
and the result would overflow,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -110,7 +110,7 @@ If
|
||||||
is not equal to
|
is not equal to
|
||||||
.IR y ,
|
.IR y ,
|
||||||
and the correct function result would be subnormal, zero, or underflow,
|
and the correct function result would be subnormal, zero, or underflow,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and either the correct value (if it can be represented),
|
and either the correct value (if it can be represented),
|
||||||
or 0.0, is returned.
|
or 0.0, is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
|
|
16
man3/pow.3
16
man3/pow.3
|
@ -72,13 +72,13 @@ If
|
||||||
.I x
|
.I x
|
||||||
is a finite value less than 0, and
|
is a finite value less than 0, and
|
||||||
.I y
|
.I y
|
||||||
is a finite non-integer, a "domain error" occurs,
|
is a finite non-integer, a domain error occurs,
|
||||||
.\" The "domain error" is generated at least as far back as glibc 2.4
|
.\" The domain error is generated at least as far back as glibc 2.4
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
.\" The "range error" is generated at least as far back as glibc 2.4
|
.\" The range error is generated at least as far back as glibc 2.4
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -87,7 +87,7 @@ or
|
||||||
respectively, with the mathematically correct sign.
|
respectively, with the mathematically correct sign.
|
||||||
|
|
||||||
If result underflows, and is not representable,
|
If result underflows, and is not representable,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and 0.0 is returned.
|
and 0.0 is returned.
|
||||||
.\" POSIX.1 does not specify the sign of the zero,
|
.\" POSIX.1 does not specify the sign of the zero,
|
||||||
.\" but http://sources.redhat.com/bugzilla/show_bug.cgi?id=2678
|
.\" but http://sources.redhat.com/bugzilla/show_bug.cgi?id=2678
|
||||||
|
@ -221,7 +221,7 @@ is +0 or -0,
|
||||||
and
|
and
|
||||||
.I y
|
.I y
|
||||||
is an odd integer less than 0,
|
is an odd integer less than 0,
|
||||||
a "pole error" occurs and
|
a pole error occurs and
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
or
|
or
|
||||||
|
@ -236,8 +236,8 @@ is +0 or -0,
|
||||||
and
|
and
|
||||||
.I y
|
.I y
|
||||||
is less than 0 and not an odd integer,
|
is less than 0 and not an odd integer,
|
||||||
a "pole error" occurs and
|
a pole error occurs and
|
||||||
.\" The "pole error" is generated at least as far back as glibc 2.4
|
.\" The pole error is generated at least as far back as glibc 2.4
|
||||||
.RB + HUGE_VAL ,
|
.RB + HUGE_VAL ,
|
||||||
.RB + HUGE_VALF ,
|
.RB + HUGE_VALF ,
|
||||||
or
|
or
|
||||||
|
|
|
@ -117,7 +117,7 @@ is an infinity,
|
||||||
and
|
and
|
||||||
.I y
|
.I y
|
||||||
is not a NaN,
|
is not a NaN,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
|
@ -128,7 +128,7 @@ and
|
||||||
.I x
|
.I x
|
||||||
is not a NaN,
|
is not a NaN,
|
||||||
.\" Interestingly, remquo(3) does not have the same problem.
|
.\" Interestingly, remquo(3) does not have the same problem.
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -77,7 +77,7 @@ is an infinity,
|
||||||
and
|
and
|
||||||
.I y
|
.I y
|
||||||
is not a NaN,
|
is not a NaN,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
|
@ -86,7 +86,7 @@ is zero,
|
||||||
and
|
and
|
||||||
.I x
|
.I x
|
||||||
is not a NaN,
|
is not a NaN,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -92,7 +92,7 @@ If \fIx\fP is integral, +0, \-0, NaN, or infinite,
|
||||||
\fIx\fP itself is returned.
|
\fIx\fP itself is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
No errors occur.
|
No errors occur.
|
||||||
POSIX.1-2001 documents a "range error" for overflows, but see NOTES.
|
POSIX.1-2001 documents a range error for overflows, but see NOTES.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
C99, POSIX.1-2001.
|
C99, POSIX.1-2001.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -68,7 +68,7 @@ If \fIx\fP is integral, +0, \-0, NaN, or infinite,
|
||||||
\fIx\fP itself is returned.
|
\fIx\fP itself is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
No errors occur.
|
No errors occur.
|
||||||
POSIX.1-2001 documents a "range error" for overflows, but see NOTES.
|
POSIX.1-2001 documents a range error for overflows, but see NOTES.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
C99, POSIX.1-2001.
|
C99, POSIX.1-2001.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -97,7 +97,7 @@ If
|
||||||
is zero, and
|
is zero, and
|
||||||
.I exp
|
.I exp
|
||||||
is positive infinity,
|
is positive infinity,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If
|
If
|
||||||
|
@ -106,11 +106,11 @@ is an infinity,
|
||||||
and
|
and
|
||||||
.I exp
|
.I exp
|
||||||
is negative infinity,
|
is negative infinity,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned.
|
a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -120,7 +120,7 @@ respectively, with a sign the same as
|
||||||
.IR x .
|
.IR x .
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return zero, with a sign the same as
|
and the functions return zero, with a sign the same as
|
||||||
.IR x .
|
.IR x .
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
|
|
|
@ -97,7 +97,7 @@ If
|
||||||
is +0 (\-0), +0 (\-0) is returned.
|
is +0 (\-0), +0 (\-0) is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -107,7 +107,7 @@ respectively, with a sign the same as
|
||||||
.IR x .
|
.IR x .
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return zero, with a sign the same as
|
and the functions return zero, with a sign the same as
|
||||||
.IR x .
|
.IR x .
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
|
|
|
@ -72,7 +72,7 @@ is a NaN, a NaN is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is positive infinity or negative infinity,
|
is positive infinity or negative infinity,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.\"
|
.\"
|
||||||
.\" POSIX.1 allows an optional range error for subnormal x
|
.\" POSIX.1 allows an optional range error for subnormal x
|
||||||
|
|
|
@ -38,7 +38,7 @@ and
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is positive infinity or negative infinity,
|
is positive infinity or negative infinity,
|
||||||
a "domain error" occurs, and
|
a domain error occurs, and
|
||||||
a NaN is returned in
|
a NaN is returned in
|
||||||
.I *sin
|
.I *sin
|
||||||
and
|
and
|
||||||
|
|
|
@ -85,7 +85,7 @@ is positive infinity (negative infinity),
|
||||||
positive infinity (negative infinity) is returned.
|
positive infinity (negative infinity) is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
|
|
@ -79,7 +79,7 @@ is positive infinity, positive infinity is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is less than \-0,
|
is less than \-0,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
See
|
See
|
||||||
|
|
|
@ -73,11 +73,11 @@ is a NaN, a NaN is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is positive infinity or negative infinity,
|
is positive infinity or negative infinity,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
|
|
||||||
If the correct result would overflow,
|
If the correct result would overflow,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
|
|
@ -64,11 +64,11 @@ is positive infinity, positive infinity is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is a negative integer, or is negative infinity,
|
is a negative integer, or is negative infinity,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and a NaN is returned.
|
and a NaN is returned.
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
@ -77,13 +77,13 @@ or
|
||||||
respectively, with the correct mathematical sign.
|
respectively, with the correct mathematical sign.
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return 0, with the correct mathematical sign.
|
and the functions return 0, with the correct mathematical sign.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is -0 or +0,
|
is -0 or +0,
|
||||||
a "pole error" occurs,
|
a pole error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.BR HUGE_VAL ,
|
.BR HUGE_VAL ,
|
||||||
.BR HUGE_VALF ,
|
.BR HUGE_VALF ,
|
||||||
|
|
|
@ -116,7 +116,7 @@ is a NaN, a NaN is returned.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is negative,
|
is negative,
|
||||||
a "domain error" occurs,
|
a domain error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
|
@ -128,7 +128,7 @@ respectively.
|
||||||
If
|
If
|
||||||
.I x
|
.I x
|
||||||
is 0.0,
|
is 0.0,
|
||||||
a "pole error" occurs,
|
a pole error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
|
@ -137,11 +137,11 @@ or
|
||||||
respectively.
|
respectively.
|
||||||
|
|
||||||
If the result underflows,
|
If the result underflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return 0.0
|
and the functions return 0.0
|
||||||
|
|
||||||
If the result overflows,
|
If the result overflows,
|
||||||
a "range error" occurs,
|
a range error occurs,
|
||||||
and the functions return
|
and the functions return
|
||||||
.RB - HUGE_VAL ,
|
.RB - HUGE_VAL ,
|
||||||
.RB - HUGE_VALF ,
|
.RB - HUGE_VALF ,
|
||||||
|
|
Loading…
Reference in New Issue