FX_CosFx64c

Syntax

#include <nitro/fx/fx_trig.h>

fx64c FX_CosFx64c( fx32    rad );

Arguments

rad Radians in fx32-format fixed-point decimal.

Return Values

Approximation of the cosine.

Description

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 FX_CosIdx is not sufficiently accurate.

See Also

FX_SinIdx, FX_CosIdx, FX_SinFx64c

Revision History

2004/01/19 Initial version.


CONFIDENTIAL