BSD 4_3_Net_2 release
[unix-history] / usr / src / lib / libm / common_source / asinh.3
index 1d3d20d..78670a7 100644 (file)
@@ -1,41 +1,69 @@
-.\" Copyright (c) 1985 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1985, 1991 Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)asinh.3     6.2 (Berkeley) 5/12/86
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.TH ASINH 3M  "May 12, 1986"
-.UC 6
-.ds up \fIulp\fR
-.SH NAME
-asinh, acosh, atanh \- inverse hyperbolic functions
-.SH SYNOPSIS
-.nf
-.B #include <math.h>
-.PP
-.B double asinh(x)
-.B double x;
-.PP
-.B double acosh(x)
-.B double x;
-.PP
-.B double atanh(x)
-.B double x;
-.fi
-.SH DESCRIPTION
-These functions compute the designated inverse hyperbolic functions for real
-arguments.
-.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,
-asinh and atanh to about 2 \*(ups.
-An \*(up is one \fIU\fRnit in the \fIL\fRast \fIP\fRlace carried.
-.SH DIAGNOSTICS
-Acosh returns the reserved operand on a VAX if the argument is less than 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
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\"     @(#)asinh.3    6.4 (Berkeley) 5/6/91
+.\"
+.Dd May 6, 1991
+.Dt ASINH 3
+.Os BSD 4.3
+.Sh NAME
+.Nm asinh
+.Nd inverse hyperbolic sine function
+.Sh SYNOPSIS
+.Fd #include <math.h>
+.Ft double
+.Fn asinh "double x"
+.Sh DESCRIPTION
+The
+.Fn asinh
+function computes the inverse hyperbolic sine
+of the real
+argument
+.Ar x .
+For a discussion of error due to roundoff, see
+.Xr math 3 .
+.Sh RETURN VALUES
+The
+.Fn asinh
+function
+returns the inverse hyperbolic sine of
+.Ar x .
+.Sh SEE ALSO
+.Xr acosh 3 ,
+.Xr atanh 3 ,
+.Xr exp 3 ,
+.Xr infnan 3
+.Xr math 3 ,
+.Sh HISTORY
+The
+.Fn asinh
+function appeared in 
+.Bx 4.3 .