Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/spu/headers/asinh.h')
-rw-r--r--newlib/libm/machine/spu/headers/asinh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/headers/asinh.h b/newlib/libm/machine/spu/headers/asinh.h
new file mode 100644
index 000000000..b80a79a6a
--- /dev/null
+++ b/newlib/libm/machine/spu/headers/asinh.h
@@ -0,0 +1,6 @@
+#include "headers/asinhd2.h"
+
+static __inline double _asinh(double x)
+{
+ return spu_extract(_asinhd2(spu_promote(x, 0)), 0);
+}