SCCS-vsn: lib/libm/common_source/asinh.3 6.2
SCCS-vsn: lib/libm/common_source/erf.3 6.2
SCCS-vsn: lib/libc/stdlib/exit.3 6.2
SCCS-vsn: lib/libm/common_source/exp.3 6.8
SCCS-vsn: lib/libm/common_source/floor.3 6.4
SCCS-vsn: lib/libm/common_source/hypot.3 6.5
SCCS-vsn: lib/libm/common_source/ieee.3 6.2
SCCS-vsn: lib/libm/common_source/infnan.3 6.3
SCCS-vsn: share/man/man3/intro.3 6.5
SCCS-vsn: lib/libm/common_source/j0.3 6.6
SCCS-vsn: lib/libm/common_source/lgamma.3 6.2
SCCS-vsn: lib/libm/common_source/sin.3 6.6
SCCS-vsn: lib/libm/common_source/sinh.3 6.5
SCCS-vsn: lib/libm/common_source/sqrt.3 6.2
14 files changed:
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)exit.3 6.1 (Berkeley) %G%
+.\" @(#)exit.3 6.2 (Berkeley) %G%
.I Exit
never returns.
.SH "SEE ALSO"
.I Exit
never returns.
.SH "SEE ALSO"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)asinh.3 6.1 (Berkeley) %G%
+.\" @(#)asinh.3 6.2 (Berkeley) %G%
.\"
.TH ASINH 3M ""
.UC 6
.\"
.TH ASINH 3M ""
.UC 6
.SH DESCRIPTION
These functions compute the designated inverse hyperbolic functions for real
arguments.
.SH DESCRIPTION
These functions compute the designated inverse hyperbolic functions for real
arguments.
-.SH SEE ALSO
-intro(3M), exp(3M), infnan(3M)
.SH ERROR (due to Roundoff etc.)
These functions inherit much of their error from log1p described in
exp(3M). On a VAX, acosh is accurate to about 3 \*(ups,
.SH ERROR (due to Roundoff etc.)
These functions inherit much of their error from log1p described in
exp(3M). On a VAX, acosh is accurate to about 3 \*(ups,
.PP
Atanh returns the reserved operand on a VAX if the argument has absolute
value bigger than or equal to 1.
.PP
Atanh returns the reserved operand on a VAX if the argument has absolute
value bigger than or equal to 1.
+.SH SEE ALSO
+math(3M), exp(3M), infnan(3M)
.SH AUTHOR
W. Kahan, Kwok\-Choi Ng
.SH AUTHOR
W. Kahan, Kwok\-Choi Ng
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)erf.3 6.1 (Berkeley) %G%
+.\" @(#)erf.3 6.2 (Berkeley) %G%
and the result subtracted from 1.
(e.g. for x = 10, 12 places are lost).
.SH SEE ALSO
and the result subtracted from 1.
(e.g. for x = 10, 12 places are lost).
.SH SEE ALSO
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)exp.3 6.7 (Berkeley) %G%
+.\" @(#)exp.3 6.8 (Berkeley) %G%
x**y.
.if t \
x\u\s8y\s10\d.
x**y.
.if t \
x\u\s8y\s10\d.
-.SH SEE ALSO
-intro(3M), infnan(3M)
.SH ERROR (due to Roundoff etc.)
exp(x), log(x), expm1(x) and log1p(x) are accurate to within
an \*(up, and log10(x) to within about 2 \*(ups;
.SH ERROR (due to Roundoff etc.)
exp(x), log(x), expm1(x) and log1p(x) are accurate to within
an \*(up, and log10(x) to within about 2 \*(ups;
\(if**0 = 1/0**0 = 1 too; and
then \*(nn**0 = 1 too because x**0 = 1 for all finite
and infinite x, i.e. independently of x.
\(if**0 = 1/0**0 = 1 too; and
then \*(nn**0 = 1 too because x**0 = 1 for all finite
and infinite x, i.e. independently of x.
+.SH SEE ALSO
+math(3M), infnan(3M)
.SH AUTHOR
Kwok\-Choi Ng, W. Kahan
.SH AUTHOR
Kwok\-Choi Ng, W. Kahan
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)floor.3 6.3 (Berkeley) %G%
+.\" @(#)floor.3 6.4 (Berkeley) %G%
.\"
.TH FLOOR 3M ""
.UC 4
.\"
.TH FLOOR 3M ""
.UC 4
.PP
Rint returns the integer (represented as a double precision number)
nearest x in the direction of the prevailing rounding mode.
.PP
Rint returns the integer (represented as a double precision number)
nearest x in the direction of the prevailing rounding mode.
-.SH SEE ALSO
-abs(3),
-ieee(3M),
-intro(3M)
.SH NOTES
On a VAX, rint(x) is equivalent to adding half to the magnitude
and then rounding towards zero.
.SH NOTES
On a VAX, rint(x) is equivalent to adding half to the magnitude
and then rounding towards zero.
Also note that, if x is larger than k can accommodate, the value of
k and the presence or absence of an integer overflow are hard to
predict.
Also note that, if x is larger than k can accommodate, the value of
k and the presence or absence of an integer overflow are hard to
predict.
+.SH SEE ALSO
+abs(3),
+ieee(3M),
+math(3M)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)hypot.3 6.4 (Berkeley) %G%
+.\" @(#)hypot.3 6.5 (Berkeley) %G%
.\"
.TH HYPOT 3M ""
.UC 4
.\"
.TH HYPOT 3M ""
.UC 4
.if t \
hypot(\(if,v) = hypot(v,\(if) = +\(if for all v,
including \*(nn.
.if t \
hypot(\(if,v) = hypot(v,\(if) = +\(if for all v,
including \*(nn.
-.SH SEE ALSO
-intro(3M), sqrt(3M)
.SH ERROR (due to Roundoff, etc.)
Below 0.97 \*(ups. Consequently hypot(5.0,12.0)\0=\013.0 exactly;
in general, hypot and cabs return an integer whenever an
.SH ERROR (due to Roundoff, etc.)
Below 0.97 \*(ups. Consequently hypot(5.0,12.0)\0=\013.0 exactly;
in general, hypot and cabs return an integer whenever an
hypot(infinity,\*(nn).
.if t \
hypot(\(if,\*(nn).
hypot(infinity,\*(nn).
.if t \
hypot(\(if,\*(nn).
+.SH SEE ALSO
+math(3M), sqrt(3M)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)ieee.3 6.1 (Berkeley) %G%
+.\" @(#)ieee.3 6.2 (Berkeley) %G%
.PP
Scalb(x,n) = x\(**(2**n) computed, for integer n, without first computing
2**n.
.PP
Scalb(x,n) = x\(**(2**n) computed, for integer n, without first computing
2**n.
-.SH SEE ALSO
-floor(3M), intro(3M), infnan(3M)
.SH DIAGNOSTICS
IEEE 754 defines drem(x,0) and
.if n \
.SH DIAGNOSTICS
IEEE 754 defines drem(x,0) and
.if n \
But on a VAX, logb(0) = 1.0 \- 2.0**31 = \-2,147,483,647.0.
And if the correct value of scalb(x,n) would overflow on a VAX,
it returns the reserved operand and sets \fIerrno\fR to ERANGE.
But on a VAX, logb(0) = 1.0 \- 2.0**31 = \-2,147,483,647.0.
And if the correct value of scalb(x,n) would overflow on a VAX,
it returns the reserved operand and sets \fIerrno\fR to ERANGE.
+.SH SEE ALSO
+floor(3M), math(3M), infnan(3M)
.SH AUTHOR
Kwok\-Choi Ng
.SH BUGS
.SH AUTHOR
Kwok\-Choi Ng
.SH BUGS
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)infnan.3 6.2 (Berkeley) %G%
+.\" @(#)infnan.3 6.3 (Berkeley) %G%
.\"
.TH INFNAN 3M ""
.UC 6
.\"
.TH INFNAN 3M ""
.UC 6
-intro(3M), intro(2), signal(3).
+math(3M), intro(2), signal(3).
.PP
ERANGE and EDOM are defined in <errno.h>. See intro(2)
.PP
ERANGE and EDOM are defined in <errno.h>. See intro(2)
-for interpretations of EDOM and ERANGE from the operating
-system's point of view.
+for explanation of EDOM and ERANGE.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)j0.3 6.5 (Berkeley) %G%
+.\" @(#)j0.3 6.6 (Berkeley) %G%
.SH DESCRIPTION
These functions calculate Bessel functions of the first
and second kinds for real arguments and integer orders.
.SH DESCRIPTION
These functions calculate Bessel functions of the first
and second kinds for real arguments and integer orders.
-.SH SEE ALSO
-intro(3M), infnan(3M)
.SH DIAGNOSTICS
On a VAX, negative arguments cause y0, y1 and yn
to return the reserved operand and set \fIerrno\fR to EDOM.
.SH DIAGNOSTICS
On a VAX, negative arguments cause y0, y1 and yn
to return the reserved operand and set \fIerrno\fR to EDOM.
+.SH SEE ALSO
+math(3M), infnan(3M)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)lgamma.3 6.1 (Berkeley) %G%
+.\" @(#)lgamma.3 6.2 (Berkeley) %G%
.\"
.TH LGAMMA 3M ""
.UC 6
.\"
.TH LGAMMA 3M ""
.UC 6
-.SH SEE ALSO
-intro(3M), infnan(3M)
.SH DIAGNOSTICS
The reserved operand is returned on a VAX for negative integer arguments,
\fIerrno\fR is set to ERANGE; for very large arguments over/underflows will
.SH DIAGNOSTICS
The reserved operand is returned on a VAX for negative integer arguments,
\fIerrno\fR is set to ERANGE; for very large arguments over/underflows will
-occur inside the program lgamma.
+occur inside the \fIlgamma\fP routine.
+.SH SEE ALSO
+math(3M), infnan(3M)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sin.3 6.5 (Berkeley) %G%
+.\" @(#)sin.3 6.6 (Berkeley) %G%
sign(y)\(**\(*p/2 if x = 0 \(!= y. \}
.ta
.fi
sign(y)\(**\(*p/2 if x = 0 \(!= y. \}
.ta
.fi
-.SH SEE ALSO
-intro(3M), hypot(3M), sqrt(3M), infnan(3M)
.SH DIAGNOSTICS
On a VAX, if |x| > 1 then asin(x) and acos(x)
will return reserved operands and \fIerrno\fR will be set to EDOM.
.SH DIAGNOSTICS
On a VAX, if |x| > 1 then asin(x) and acos(x)
will return reserved operands and \fIerrno\fR will be set to EDOM.
x may be. Therefore the difference between P and
.Pi
is most unlikely to affect scientific and engineering computations.
x may be. Therefore the difference between P and
.Pi
is most unlikely to affect scientific and engineering computations.
+.SH SEE ALSO
+math(3M), hypot(3M), sqrt(3M), infnan(3M)
.SH AUTHOR
Robert P. Corbett, W. Kahan, Stuart\0I.\0McDonald, Peter\0Tang and,
for the codes for IEEE 754, Dr. Kwok\-Choi\0Ng.
.SH AUTHOR
Robert P. Corbett, W. Kahan, Stuart\0I.\0McDonald, Peter\0Tang and,
for the codes for IEEE 754, Dr. Kwok\-Choi\0Ng.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sinh.3 6.4 (Berkeley) %G%
+.\" @(#)sinh.3 6.5 (Berkeley) %G%
.fi
.SH DESCRIPTION
These functions compute the designated hyperbolic functions for real arguments.
.fi
.SH DESCRIPTION
These functions compute the designated hyperbolic functions for real arguments.
-.SH SEE ALSO
-intro(3M), infnan(3M)
.SH ERROR (due to Roundoff etc.)
Below 2.4 \fIulp\fRs; an \fIulp\fR is one \fIU\fRnit in the \fIL\fRast
\fIP\fRlace.
.SH DIAGNOSTICS
Sinh and cosh return the reserved operand on a VAX if
the correct value would overflow.
.SH ERROR (due to Roundoff etc.)
Below 2.4 \fIulp\fRs; an \fIulp\fR is one \fIU\fRnit in the \fIL\fRast
\fIP\fRlace.
.SH DIAGNOSTICS
Sinh and cosh return the reserved operand on a VAX if
the correct value would overflow.
+.SH SEE ALSO
+math(3M), infnan(3M)
.SH AUTHOR
W. Kahan, Kwok\-Choi Ng
.SH AUTHOR
W. Kahan, Kwok\-Choi Ng
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sqrt.3 6.1 (Berkeley) %G%
+.\" @(#)sqrt.3 6.2 (Berkeley) %G%
Cbrt(x) returns the cube root of x.
.PP
Sqrt(x) returns the square root of x.
Cbrt(x) returns the cube root of x.
.PP
Sqrt(x) returns the square root of x.
-.SH SEE ALSO
-intro(3M), infnan(3M)
.SH DIAGNOSTICS
On a VAX, sqrt(negative)
returns the reserved operand and sets \fIerrno\fR to EDOM .
.SH DIAGNOSTICS
On a VAX, sqrt(negative)
returns the reserved operand and sets \fIerrno\fR to EDOM .
in accordance with the rounding mode in force; the error is less than
half an \*(up in the default mode (round\-to\-nearest).
An \*(up is one \fIU\fRnit in the \fIL\fRast \fIP\fRlace carried.
in accordance with the rounding mode in force; the error is less than
half an \*(up in the default mode (round\-to\-nearest).
An \*(up is one \fIU\fRnit in the \fIL\fRast \fIP\fRlace carried.
+.SH SEE ALSO
+math(3M), infnan(3M)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)intro.3 6.4 (Berkeley) %G%
+.\" @(#)intro.3 6.5 (Berkeley) %G%