COSH(X)

Purpose

Hyperbolic cosine function.

Class

Elemental function

Argument type and attributes

X
An INTENT(IN) REAL Fortran 2008 beginsor COMPLEX.Fortran 2008 ends

Result type and attributes

Same as X.

Result value

The result value approximates cosh(X).

Fortran 2008 beginsIf X is of type complex, its imaginary part is considered a value in radians.Fortran 2008 ends

Examples

COSH(1.0) has the value 1.5430806, approximately.

Fortran 2008 beginsCOSH((1.000000, 0.000000)) has the value (1.543081, 0.000000), approximately.Fortran 2008 ends

Specific Name Argument Type Result Type Pass As Arg?
COSH default real default real yes
DCOSH double precision real double precision real yes
QCOSH  1  REAL(16) REAL(16) yes
Note:
  1. IBM extension.