summaryrefslogtreecommitdiffstats
path: root/newlib/libm/machine/spu/sf_tanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/spu/sf_tanh.c')
-rw-r--r--newlib/libm/machine/spu/sf_tanh.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/sf_tanh.c b/newlib/libm/machine/spu/sf_tanh.c
new file mode 100644
index 000000000..65c3f9bcf
--- /dev/null
+++ b/newlib/libm/machine/spu/sf_tanh.c
@@ -0,0 +1,7 @@
+#include <math.h>
+#include "headers/tanhf.h"
+
+float tanhf(float x)
+{
+ return _tanhf(x);
+}