Function spinoso_math::tan

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

Computes the tangent of the given value (expressed in radians).

Domain: (-INFINITY, INFINITY)

Codomain: (-INFINITY, INFINITY)

§Examples

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