Skip to main content

cos

Function cos 

Source
pub fn cos<F>(x: F) -> F
where F: Float,
Expand description

cos x. cos(±0) is 1, and cos(±∞) and cos(NaN) are NaN. Beyond the magnitude that sin gives, x takes the same exact reduction.