cos

Function cos 

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

Computes the cosine of a number (in radians).

Precision is specified when the libm feature is enabled.