diff options
Diffstat (limited to 'newlib/libm/machine/spu/headers/atan.h')
-rw-r--r-- | newlib/libm/machine/spu/headers/atan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/headers/atan.h b/newlib/libm/machine/spu/headers/atan.h new file mode 100644 index 000000000..18ff615d8 --- /dev/null +++ b/newlib/libm/machine/spu/headers/atan.h @@ -0,0 +1,6 @@ +#include "headers/atand2.h" + +static __inline double _atan(double x) +{ + return spu_extract(_atand2(spu_promote(x, 0)), 0); +} |