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