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