pub fn cos<F>(x: F) -> Fwhere F: Float,
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.
cos(±0)
cos(±∞)
cos(NaN)
sin