From f0cf0902eab6ed0e1784823c92a358029f7c7b17 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 17 Jan 2006 04:31:22 +0000 Subject: * 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 * 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 * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0. --- math/e_exp2l.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'math') 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 -#include -#include +#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 -- cgit v1.2.3