.\" SUCH DAMAGE.
.\"
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
-.\" $Id: acos.3,v 1.2 1995/10/28 00:56:45 deraadt Exp $
+.\" $Id: acos.3,v 1.3 1997/04/05 04:18:45 tholo Exp $
.\"
.Dd May 2, 1991
.Dt ACOS 3
in the range
.Bq 0 , \*(Pi .
.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
+If |x|>1,
+.Fn acos "x"
+and
+.Fn acosf "x"
+sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr sin 3 ,
.Xr cos 3 ,
.Xr sinh 3 ,
.Xr cosh 3 ,
.Xr tanh 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
-.\" $Id: acosh.3,v 1.2 1995/10/28 00:56:45 deraadt Exp $
+.\" $Id: acosh.3,v 1.3 1997/04/05 04:18:45 tholo Exp $
.\"
.Dd May 6, 1991
.Dt ACOSH 3
-.Os BSD 4.3
+.Os
.Sh NAME
.Nm acosh
.Nd inverse hyperbolic cosine function
argument
.Ar x .
.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
+If x is less than one,
+.Fn acosh "x"
+and
+.Fn acoshf "x"
+returns NaN and sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr asinh 3 ,
.Xr atanh 3 ,
.Xr exp 3 ,
.Xr infnan 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.Sh HISTORY
The
.Fn acosh
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91
-.\" $Id: asin.3,v 1.2 1995/10/28 00:56:46 deraadt Exp $
+.\" $Id: asin.3,v 1.3 1997/04/05 04:18:46 tholo Exp $
.\"
.Dd May 2, 1991
.Dt ASIN 3
.Bq -\*(Pi/2, +\*(Pi/2 .
.Ek
.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
+If |x|>1,
+.Fn asin "x"
+and
+.Fn asinf "x"
+returns NaN and sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr atan 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
.Xr tanh 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asinh.3 6.4 (Berkeley) 5/6/91
-.\" $Id: asinh.3,v 1.2 1995/10/28 00:56:47 deraadt Exp $
+.\" $Id: asinh.3,v 1.3 1997/04/05 04:18:46 tholo Exp $
.\"
.Dd May 6, 1991
.Dt ASINH 3
-.Os BSD 4.3
+.Os
.Sh NAME
.Nm asinh
.Nd inverse hyperbolic sine function
.Fn asinhf
functions return the inverse hyperbolic sine of
.Ar x .
-.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr atanh 3 ,
.Xr exp 3 ,
.Xr infnan 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.Sh HISTORY
The
.Fn asinh
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atan.3 5.1 (Berkeley) 5/2/91
-.\" $Id: atan.3,v 1.2 1995/10/28 00:56:47 deraadt Exp $
+.\" $Id: atan.3,v 1.3 1997/04/05 04:18:47 tholo Exp $
.\"
.Dd May 2, 1991
.Dt ATAN 3
.Bk -words
.Bq -\*(Pi/2 , +\*(Pi/2 .
.Ek
-.Sh RETURN VALUES
-Exceptional cases are handled by
-.Xr matherr 3 .
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
.Xr tanh 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atanh.3 5.2 (Berkeley) 5/6/91
-.\" $Id: atanh.3,v 1.2 1995/10/28 00:56:49 deraadt Exp $
+.\" $Id: atanh.3,v 1.3 1997/04/05 04:18:47 tholo Exp $
.\"
.Dd May 6, 1991
.Dt ATANH 3
-.Os BSD 4.3
+.Os
.Sh NAME
.Nm atanh
.Nd inverse hyperbolic tangent function
argument
.Ar x .
.Sh RETURN VALUES
-Exceptional conditions are handled by
-.Xr matherr 3 .
+If |x|>=1,
+.Fn atanh "x"
+and
+.Fn atanhf "x"
+returns +inf, -inf or NaN, and sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
.Xr acosh 3 ,
.Xr asinh 3 ,
.Xr exp 3 ,
.Xr infnan 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.Sh HISTORY
The
.Fn atanh
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91
-.\" $Id: cosh.3,v 1.2 1995/10/28 00:56:51 deraadt Exp $
+.\" $Id: cosh.3,v 1.3 1997/04/05 04:18:47 tholo Exp $
.\"
.Dd May 2, 1991
.Dt COSH 3
functions compute the hyperbolic cosine of
.Fa x .
.Sh RETURN VALUES
-Exceptional conditions are handled by
-.Xr matherr 3 .
+If the magnitude of x is too large,
+.Fn cosh "x"
+and
+.Fn coshf "x"
+returns Inf and sets the global variable
+.Va errno
+to ERANGE.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
.Xr tanh 3 ,
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.\" SUCH DAMAGE.
.\"
.\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91
-.\" $Id: erf.3,v 1.2 1995/10/28 00:56:51 deraadt Exp $
+.\" $Id: erf.3,v 1.3 1997/04/05 04:18:48 tholo Exp $
.\"
.Dd April 20, 1991
-.Dt ERF 3
-.Os BSD 4.3
+.Dt
+.Os
.Sh NAME
.Nm erf ,
.Nm erfc
.Fd #include <math.h>
.Ft double
.Fn erf "double x"
-.Fn float
+.Ft float
.Fn erff "float x"
.Ft double
.Fn erfc "double x"
.\" SUCH DAMAGE.
.\"
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
-.\" $Id: exp.3,v 1.2 1995/10/28 00:56:52 deraadt Exp $
+.\" $Id: exp.3,v 1.3 1997/04/05 04:18:48 tholo Exp $
.\"
.Dd July 31, 1991
.Dt EXP 3
-.Os BSD 4
+.Os
.Sh NAME
.Nm exp ,
.Nm expm1 ,
.Ft double
.Fn pow "double x" "double y"
.Ft float
-.Fn powf "float x" float y"
+.Fn powf "float x" "float y"
.Sh DESCRIPTION
The
.Fn exp
.\" SUCH DAMAGE.
.\"
.\" from: @(#)hypot.3 6.7 (Berkeley) 5/6/91
-.\" $Id: hypot.3,v 1.2 1995/10/28 00:56:55 deraadt Exp $
+.\" $Id: hypot.3,v 1.3 1997/04/05 04:18:49 tholo Exp $
.\"
.Dd May 6, 1991
.Dt HYPOT 3
-.Os BSD 4
+.Os
.Sh NAME
.Nm hypot ,
.Nm cabs
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $Id: ieee_test.3,v 1.2 1995/10/28 00:56:56 deraadt Exp $
+.\" $Id: ieee_test.3,v 1.3 1997/04/05 04:18:49 tholo Exp $
.\"
.Dd March 10, 1994
.Dt IEEE_TEST 3
.Ft double
.Fn significand "double x"
.Ft float
-.Fn significand "float x"
+.Fn significandf "float x"
.Sh DESCRIPTION
These functions allow users to test conformance to
.St -ieee754 .
.\" SUCH DAMAGE.
.\"
.\" from: @(#)j0.3 6.7 (Berkeley) 4/19/91
-.\" $Id: j0.3,v 1.2 1995/10/28 00:56:57 deraadt Exp $
+.\" $Id: j0.3,v 1.3 1997/04/05 04:18:50 tholo Exp $
.\"
.Dd April 19, 1991
.Dt J0 3
-.Os BSD 4
+.Os
.Sh NAME
.Nm j0 ,
.Nm j1 ,
(expressed as a double).
.Sh RETURN VALUES
If these functions are successful,
-the computed value is returned. On the
-.Tn VAX
-and
-.Tn Tahoe
-architectures,
-a negative
-.Fa x
-value
-results in an error; the global
-variable
+the computed value is returned, otherwise the the global variable
.Va errno
-is set to
-.Er EDOM
-and a reserve operand fault is generated.
+is set to EDOM or ERANGE.
.Sh SEE ALSO
-.Xr math 3 ,
-.Xr matherr 3 ,
-.Xr infnan 3
+.Xr math 3
.Sh HISTORY
This set of functions
appeared in
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sqrt.3 6.4 (Berkeley) 5/6/91
-.\" $Id: sqrt.3,v 1.2 1995/10/28 00:57:01 deraadt Exp $
+.\" $Id: sqrt.3,v 1.3 1997/04/05 04:18:50 tholo Exp $
.\"
.Dd May 6, 1991
.Dt SQRT 3
functions compute
the non-negative square root of x.
.Sh RETURN VALUES
-Exceptional conditions are handled by
-.Xr matherr 3 .
+If x is negative,
+.Fn sqrt "x"
+and
+.Fn sqrtf "x"
+sets the global variable
+.Va errno
+to EDOM.
.Sh SEE ALSO
-.Xr math 3 ,
-.Xr matherr 3
+.Xr math 3
.Sh HISTORY
The
.Fn cbrt