Function cos

pub fn cos<T: Dispatch>(x: T) -> T

Returns the cosine of a floating-point value.

The stabilized versions of this intrinsic are available on the float primitives via the cos method. For example, f32::cos.