pub fn rad_to_turns<S>(rad: S) -> S
where
    S: BaseFloat,
{
    rad / NumCast::from(2.0 * ::std::f64::consts::PI).unwrap()
}
/// Convert the given value in radians to the equivalent value as a number of turns.
Convert the given value in radians to the equivalent value as a number of turns.
Convert the given value in radians to the equivalent value as a number of turns .
pub fn rad_to_turns<S>(rad: S) -> S
where
    S: BaseFloat,
{
    rad / NumCast::from(2.0 * ::std::f64::consts::PI).unwrap()
}
pub fn rad_to_turns < S > ( rad : S ) -> S where S : BaseFloat , { rad / NumCast :: from ( 2.0 * :: std :: f64 :: consts :: PI ) . unwrap ( ) }
Convert the given value in radians to the equivalent value as a number of turns.
Convert the given value in radians to the equivalent value as a number of turns .
rad
S
rad
S