Stub version of exp2 function
authordrepper <drepper>
Mon, 31 Mar 1997 00:22:30 +0000 (00:22 +0000)
committerdrepper <drepper>
Mon, 31 Mar 1997 00:22:30 +0000 (00:22 +0000)
sysdeps/stub/s_exp2.c [new file with mode: 0644]
sysdeps/stub/s_exp2f.c [new file with mode: 0644]
sysdeps/stub/s_exp2l.c [new file with mode: 0644]

diff --git a/sysdeps/stub/s_exp2.c b/sysdeps/stub/s_exp2.c
new file mode 100644 (file)
index 0000000..a3d0906
--- /dev/null
@@ -0,0 +1,12 @@
+#include <math.h>
+#include <stdio.h>
+
+double
+__exp2 (double x)
+{
+  fputs ("__exp2 not implemented\n", stderr);
+  return 0.0;
+}
+weak_alias (__exp2, exp2)
+
+stub_warning (exp2)
diff --git a/sysdeps/stub/s_exp2f.c b/sysdeps/stub/s_exp2f.c
new file mode 100644 (file)
index 0000000..5d6540e
--- /dev/null
@@ -0,0 +1,12 @@
+#include <math.h>
+#include <stdio.h>
+
+float
+__exp2f (float x)
+{
+  fputs ("__exp2f not implemented\n", stderr);
+  return 0.0;
+}
+weak_alias (__exp2f, exp2f)
+
+stub_warning (exp2)
diff --git a/sysdeps/stub/s_exp2l.c b/sysdeps/stub/s_exp2l.c
new file mode 100644 (file)
index 0000000..4c52fc9
--- /dev/null
@@ -0,0 +1,12 @@
+#include <math.h>
+#include <stdio.h>
+
+long double
+__exp2l (long double x)
+{
+  fputs ("__exp2l not implemented\n", stderr);
+  return 0.0;
+}
+weak_alias (__exp2l, exp2l)
+
+stub_warning (exp2l)