angle_sc::trig

Function cot

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

The cotangent of an angle.

  • sin the sine of the angle.

returns the cotangent or None if sin < SQ_EPSILON