Function fixed_math::trig::sin_cos

source ·
pub fn sin_cos<Val: FixedSigned + NormalizeCordic>(
    angle_degs: Val
) -> (Val, Val)
Expand description

Compute sin and cos simultaneously of an angle in degrees.

Note: number representation needs at least 10 integer bits to fit 360.