cospi

Function cospi 

Source
pub fn cospi(x: f64) -> f64
Expand description

Compute $\cos(\pi x)$ more accurately than cos(pi*x), especially for large x (f64).

ยงNotes

If x is infinite or NAN, return NAN.