Module trig

Module trig 

Source
Expand description

Trigonometric functions

The implementation is based on the Julia Standard Library.

Functionsยง

cospi
Compute $\cos(\pi x)$ more accurately than cos(pi*x), especially for large x (f64).
cospif
Compute $\cos(\pi x)$ more accurately than cos(pi*x), especially for large x (f32).
sincospi
Simultaneously compute sinpi and cospi (f64).
sincospif
Simultaneously compute sinpif and cospif (f32).
sinpi
Compute $\sin(\pi x)$ more accurately than sin(pi*x), especially for large x (f64).
sinpif
Compute $\sin(\pi x)$ more accurately than sin(pi*x), especially for large x (f32).