angle_sc::trig

Function csc

Source
pub fn csc(sin: UnitNegRange) -> Option<f64>
Expand description

The cosecant of an angle.

  • sin the sine of the angle.

returns the cosecant or None if sin < SQ_EPSILON