newlib-cygwin/newlib/libm/machine/spu/headers/cos.h

7 lines
130 B
C

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