pub fn cos<F: Float>(x: F) -> F
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