Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

COSH

Elemental Intrinsic Function (Generic): Produces a hyperbolic cosine.

result = COSH (x)

x

(Input) Must be of type real or complex.

Results

The result type and kind are the same as x.

If x is of type complex, the imaginary part of the result is in radians.

Specific Name

Argument Type

Result Type

COSH

REAL(4)

REAL(4)

DCOSH

REAL(8)

REAL(8)

QCOSH

REAL(16)

REAL(16)

Example

COSH (2.0) has the value 3.762196.

COSH (0.65893) has the value 1.225064.