spinoso_math

Function cosh

source
pub fn cosh(value: f64) -> f64
Expand description

Computes the hyperbolic cosine of the given value (expressed in radians).

Domain: (-INFINITY, INFINITY)

Codomain: [1, INFINITY)

ยงExamples

use spinoso_math as math;
assert_eq!(math::cosh(0.0), 1.0);