#include <nitro/fx/fx_trig.h>
fx64c FX_CosFx64c( fx32 rad );
rad | Radians in fx32 format fixed-point decimal |
Approximation of the cosine.
This function receives radians as an fx32
type and returns the result as fx64c
. Accuracy is to at least 7 decimal places and usually to 8 decimal places. Approximations are made using internal progressive calculations. Use this function when the accuracy with FX_CosIdx
will be insufficient.
FX_SinIdx, FX_CosIdx, FX_SinFx64c
01/19/2004 Initial version.