diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-01-30 09:30:09 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-01-30 09:30:09 +0000 |
commit | 3e543bc56346540cbf73fd48d0172fc6a588efd5 (patch) | |
tree | b2c3502b6596d238ac861cc82cafdc6f8b84e143 /math/e_exp2l.c | |
parent | 06f313e361a523605ba6d4c9cdc67a7353cd367c (diff) |
Updated to fedora-glibc-20060130T0922
Diffstat (limited to 'math/e_exp2l.c')
-rw-r--r-- | math/e_exp2l.c | 12 |
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> |