diff options
Diffstat (limited to 'newlib/libm/machine/spu/headers/sin.h')
-rw-r--r-- | newlib/libm/machine/spu/headers/sin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/headers/sin.h b/newlib/libm/machine/spu/headers/sin.h new file mode 100644 index 000000000..5d3fac823 --- /dev/null +++ b/newlib/libm/machine/spu/headers/sin.h @@ -0,0 +1,6 @@ +#include "headers/sind2.h" + +static __inline double _sin(double angle) +{ + return spu_extract(_sind2(spu_promote(angle, 0)), 0); +} |