cosh

Computes the hyperbolic cosine of the argument.

Library:LibC
Classification:ANSI
Service:Math

Syntax

  #include <math.h> 
   
  double cosh (
     double   x);
  

Parameters

x

(IN) Specifies the argument whose hyperbolic cosine is to be computed.

Return Values

Returns the hyperbolic cosine value. When the argument is outside the permissible range, errno is set and matherr is called.

Remarks

The cosh function computes the hyperbolic cosine of x. A range error occurs if the magnitude of x is too large.

See Also