Next: , Previous: COS, Up: Intrinsic Procedures


8.33 COSH — Hyperbolic cosine function

Description:
COSH(X) computes the hyperbolic cosine of X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = COSH(X)
Arguments:

X The type shall be REAL(*).

Return value:
The return value is of type REAL(*) and it is positive ( \cosh (x) \geq 0 .
Example:
          program test_cosh
            real(8) :: x = 1.0_8
            x = cosh(x)
          end program test_cosh
     

Specific names:

Name Argument Return type Option
DCOSH(X) REAL(8) X REAL(8) f95, gnu