Hyperbolic cosine function.

**X**- must be of type real.

**Class**

Elemental function

**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: **

- Given that X is a complex number in the form a + bi, where
i = (-1)
^{½}:- abs(b) must be less than or equal to 88.7228; a is any real value.
- abs(b) must be less than or equal to 709.7827; a is any real value.

- IBM Extension.