angle_sc::trig

Function tan

Source
pub fn tan(sin: UnitNegRange, cos: UnitNegRange) -> Option<f64>
Expand description

The tangent of an angle.

  • cos the cosine of the angle.

returns the tangent or None if cos < SQ_EPSILON