Function sin_cos

Source
pub fn sin_cos(x: f32) -> (f32, f32)
Available on non-crate feature libm and crate feature std only.
Expand description

Simultaneously computes the sine and cosine of the number, x. Returns (sin(x), cos(x)).

Precision is specified when the libm feature is enabled.