acosh.3 (ee7093a6400feef3d8a99579f28577817d70f6ad) acosh.3 (998b640bcbca4ff197daf30fcff18d33889a7a0b)
1.\" Copyright (c) 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
29.\" $FreeBSD$
30.\"
31.Dd January 14, 2005
31.Dd June 9, 2013
32.Dt ACOSH 3
33.Os
34.Sh NAME
35.Nm acosh ,
32.Dt ACOSH 3
33.Os
34.Sh NAME
35.Nm acosh ,
36.Nm acoshf
36.Nm acoshf ,
37.Nm acoshl
37.Nd inverse hyperbolic cosine functions
38.Sh LIBRARY
39.Lb libm
40.Sh SYNOPSIS
41.In math.h
42.Ft double
43.Fn acosh "double x"
44.Ft float
45.Fn acoshf "float x"
38.Nd inverse hyperbolic cosine functions
39.Sh LIBRARY
40.Lb libm
41.Sh SYNOPSIS
42.In math.h
43.Ft double
44.Fn acosh "double x"
45.Ft float
46.Fn acoshf "float x"
47.Ft long double
48.Fn acoshl "long double x"
46.Sh DESCRIPTION
47The
49.Sh DESCRIPTION
50The
48.Fn acosh
49and the
50.Fn acoshf
51.Fn acosh ,
52.Fn acoshf ,
53and
54.Fn acoshl
51functions compute the inverse hyperbolic cosine
52of the real
53argument
54.Ar x .
55For a discussion of error due to roundoff, see
56.Xr math 3 .
57.Sh RETURN VALUES
55functions compute the inverse hyperbolic cosine
56of the real
57argument
58.Ar x .
59For a discussion of error due to roundoff, see
60.Xr math 3 .
61.Sh RETURN VALUES
58The
59.Fn acosh
60and the
61.Fn acoshf
62functions
62These functions
63return the inverse hyperbolic cosine of
64.Ar x .
65If the argument is less than 1,
66.Fn acosh
67raises an invalid exception and returns an \*(Na.
68.Sh SEE ALSO
69.Xr asinh 3 ,
70.Xr atanh 3 ,
71.Xr exp 3 ,
72.Xr fenv 3 ,
73.Xr math 3
74.Sh HISTORY
75The
63return the inverse hyperbolic cosine of
64.Ar x .
65If the argument is less than 1,
66.Fn acosh
67raises an invalid exception and returns an \*(Na.
68.Sh SEE ALSO
69.Xr asinh 3 ,
70.Xr atanh 3 ,
71.Xr exp 3 ,
72.Xr fenv 3 ,
73.Xr math 3
74.Sh HISTORY
75The
76.Fn acosh
77function appeared in
78.Bx 4.3 .
76.Fn acosh ,
77.Fn acoshf ,
78and
79.Fn acoshl
80functions appeared in
81.Bx 4.3 ,
82.Fx 2.0 ,
83and
84.Fx 10.0 ,
85respectively.