spinoso_math

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