2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
12 .. index:: area hyperbolic cosine
14 .. index:: inverse hyperbolic cosine
16 .. index:: hyperbolic function, cosine, inverse
18 .. index:: cosine, hyperbolic, inverse
20 ACOSH --- Inverse hyperbolic cosine function
21 ********************************************
23 .. function:: ACOSH(X)
25 ``ACOSH(X)`` computes the inverse hyperbolic cosine of :samp:`{X}`.
28 The type shall be ``REAL`` or ``COMPLEX``.
31 The return value has the same type and kind as :samp:`{X}`. If :samp:`{X}` is
32 complex, the imaginary part of the result is in radians and lies between
33 0 \leq \Im \acosh(x) \leq \pi.
36 Fortran 2008 and later
42 .. code-block:: fortran
47 .. code-block:: fortran
50 REAL(8), DIMENSION(3) :: x = (/ 1.0, 2.0, 3.0 /)