diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 18:26:36 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 18:26:36 +0000 |
commit | 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch) | |
tree | 2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /math/e_exp2l.c | |
parent | 7d58530341304d403a6626d7f7a1913165fe2f32 (diff) | |
download | glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.zip glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.gz glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.bz2 |
2.5-18.1
Diffstat (limited to 'math/e_exp2l.c')
-rw-r--r-- | math/e_exp2l.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/math/e_exp2l.c b/math/e_exp2l.c new file mode 100644 index 0000000..7e598d8 --- /dev/null +++ b/math/e_exp2l.c @@ -0,0 +1,10 @@ +#include <math.h> +#include "math_private.h" + +long double +__ieee754_exp2l (long double x) +{ + /* This is a very stupid and inprecise implementation. It'll get + replaced sometime (soon?). */ + return __ieee754_expl (M_LN2l * x); +} |