Function spinoso_math::cosh[][src]

#[must_use]pub fn cosh(value: f64) -> f64

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);