Retro68/gcc/newlib/libm/machine/spu/headers/cos.h
2012-03-27 01:51:53 +02:00

7 lines
130 B
C

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