Functionsยง
- primitive_
float_ cos - Computes $\cos x$, the cosine of a primitive float. Using this function is more accurate than
using the default
cosfunction or the one provided bylibm. - primitive_
float_ cos_ pi - Computes $\cos(\pi x)$, the cosine of a primitive float measured in half-turns.
- primitive_
float_ cos_ pi_ rational - Computes $\cos(\pi x)$, the cosine of a
Rationalmeasured in half-turns, returning the result as a primitive float. - primitive_
float_ cos_ rational - Computes $\cos x$, the cosine of a
Rational, returning the result as a primitive float. - primitive_
float_ cos_ with_ period - Computes $\cos(2\pi x/u)$, the cosine of a primitive float measured in $u$ths of a turn (so that
u = 360is degrees). - primitive_
float_ cos_ with_ period_ rational - Computes $\cos(2\pi x/u)$, the cosine of a
Rationalmeasured in $u$ths of a turn (so thatu = 360is degrees), returning the result as a primitive float.