summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-17 04:31:22 +0000
committerRoland McGrath <roland@gnu.org>2006-01-17 04:31:22 +0000
commitf0cf0902eab6ed0e1784823c92a358029f7c7b17 (patch)
tree402a18c84ea769ca8c518cd290467f42dece7dd3 /math
parentedbaf668f6d6588fcf1d7a931fdd9e19a5999f6d (diff)
downloadglibc-f0cf0902eab6ed0e1784823c92a358029f7c7b17.tar.gz
* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
into $(inst_includedir)/%.h from sysdirs. [headers]: Change static pattern rule for installing $(headers) to do only those not matching %.h. ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead. ($(inst_includedir)/%.h: %.h): Likewise. ($(inst_includedir)/%.h: $(..)include/%.h): Likewise. * Makefile ($(inst_includedir)/gnu/stubs.h): Add $(make-target-directory). * stdlib/Makefile (headers): Restore headers removed in last change. 2006-01-16 Jakub Jelinek <jakub@redhat.com> * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include math_private.h. (__ieee754_exp2l): Compute for now as expl (M_LN2l * x) instead of failing. (exp2l): Remove stub_warning. 2006-01-15 Jakub Jelinek <jakub@redhat.com> * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
Diffstat (limited to 'math')
-rw-r--r--math/e_exp2l.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/math/e_exp2l.c b/math/e_exp2l.c
index 64ef6d3d50..7e598d8d2d 100644
--- a/math/e_exp2l.c
+++ b/math/e_exp2l.c
@@ -1,14 +1,10 @@
#include <math.h>
-#include <stdio.h>
-#include <errno.h>
+#include "math_private.h"
long double
__ieee754_exp2l (long double x)
{
- fputs ("__ieee754_exp2l not implemented\n", stderr);
- __set_errno (ENOSYS);
- return 0.0;
+ /* This is a very stupid and inprecise implementation. It'll get
+ replaced sometime (soon?). */
+ return __ieee754_expl (M_LN2l * x);
}
-
-stub_warning (exp2l)
-#include <stub-tag.h>