Module utility

Source

Functions§

atan2_precise_fixed
Calculate atan(y/x) using a polynomial approximation. Utilizes the following polynomial to estimate the angle θ [radians].
atan2_precise_float
Calculate atan(y/x) using a polynomial approximation. Utilizes the following polynomial to estimate the angle θ [radians].
atan_precise_fixed
Calculate atan(x) using a polynomial approximation. Utilizes the following polynomial to estimate the angle θ [radians].
fixed_powi
Rase fixed number to an integer-valued power.
fpowi
Rase float number to an integer-valued power.
powi
Rase integer to an integer-valued power. base^power.
sqrt
Numerical square root of a fixed point scalar. Slow but acurate method.