COSH(X)

Purpose

Hyperbolic cosine function.

Class

Elemental function

Argument type and attributes

X
must be of type real.

Result type and attributes

Same as X.

Result value

The result value approximates cosh(X).

Examples

COSH (1.0) has the value 1.5430806 (approximately).

Specific Name Argument Type Result Type Pass As Arg?
COSH  1a  default real default real yes
DCOSH  1b  double precision real double precision real yes
QCOSH  1b   2  REAL(16) REAL(16) yes
Notes:
  1. Given that X is a complex number in the form a + bi, where i = (-1)½:
    1. abs(b) must be less than or equal to 88.7228; a is any real value.
    2. abs(b) must be less than or equal to 709.7827; a is any real value.
  2. IBM Extension.