pub fn sin_cos(x: f32) -> (f32, f32)
Available on non-crate feature
libm
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.