pub fn cos(x: f32) -> f32
Available on non-crate feature
libm
and crate feature std
only.Expand description
Computes the cosine of a number (in radians).
Precision is specified when the libm
feature is enabled.