Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

cosh

Calculates the hyperbolic cosine: (e^x + e^-x) / 2

Properties

  • cosh(0) = 1
  • cosh(-x) = cosh(x) (even function)
  • Always >= 1

Fully qualified path: cairo_fp::f128::math::hyp::cosh

fn cosh(a: Fixed) -> Fixed