cosf, coss
Computes the cosine of an angle in either floating point or fixed point
#include "gu.h" /* gu.h */ float cosf(float angle); float coss(unsigned short angle)
angle is the angle in radians. 0-0xffff(0-2 PI) for coss.
cosf uses polynomial approximation to compute the sine in radians. It computes the coss using a table lookup in DRAM, returning the result in s.15 fixed-point format.
1999/04/30 Changed Format