Expand description
Implementations of Atan and
AtanAssign, traits for computing the
arctangent of Floats.
Functionsยง
- primitive_
float_ atan - Computes $\arctan x$, the arctangent of a primitive float. Using this function is more accurate
than using the default
atanfunction or the one provided bylibm. - primitive_
float_ atan_ pi - Computes $\arctan(x)/\pi$, the arctangent of a primitive float measured in half-turns.
- primitive_
float_ atan_ pi_ rational - Computes $\arctan(x)/\pi$, the arctangent of a
Rationalmeasured in half-turns, returning the result as a primitive float. - primitive_
float_ atan_ rational - Computes $\arctan x$, the arctangent of a
Rational, returning the result as a primitive float. - primitive_
float_ atan_ with_ period - Computes $\arctan(x)u/(2\pi)$, the arctangent of a primitive float measured in $u$ths of a turn
(so that
u = 360gives degrees). - primitive_
float_ atan_ with_ period_ rational - Computes $\arctan(x)u/(2\pi)$, the arctangent of a
Rationalmeasured in $u$ths of a turn (so thatu = 360gives degrees), returning the result as a primitive float.