cosh function

double cosh (double angle)

Hyperbolic Cosine.

Implementation

double cosh(double angle) {
  return (stdmath.exp(angle) + stdmath.exp(-angle)) / 2;
}