about summary refs log tree commit diff
path: root/sysdeps/generic/s_exp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/s_exp2.c')
-rw-r--r--sysdeps/generic/s_exp2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/generic/s_exp2.c b/sysdeps/generic/s_exp2.c
new file mode 100644
index 0000000000..4e25d38130
--- /dev/null
+++ b/sysdeps/generic/s_exp2.c
@@ -0,0 +1,15 @@
+#include <math.h>
+#include <stdio.h>
+#include <errno.h>
+
+double
+__exp2 (double x)
+{
+  fputs ("__exp2 not implemented\n", stderr);
+  __set_errno (ENOSYS);
+  return 0.0;
+}
+weak_alias (__exp2, exp2)
+
+stub_warning (exp2)
+#include <stub-tag.h>