Retro68/gcc/newlib/libm/machine/spu/headers/cos.h

7 lines
130 B
C
Raw Normal View History

#include "headers/cosd2.h"
static __inline double _cos(double angle)
{
return spu_extract(_cosd2(spu_promote(angle, 0)), 0);
}