public static double cosh (double x)

Returns the hyperbolic cosine of a double value. The hyperbolic cosine of x is defined to be (ex + e-x)/2 where e is Euler's number.

Special cases:

The computed result must be within 2.5 ulps of the exact result.

Parameters:
x    The number whose hyperbolic cosine is to be returned.

Returns:  The hyperbolic cosine of x.

Since:  1.5