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.

IBM Copyright 2003