about summary refs log tree commit diff
path: root/math/e_exp2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/e_exp2l.c')
-rw-r--r--math/e_exp2l.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/e_exp2l.c b/math/e_exp2l.c
new file mode 100644
index 0000000000..7e598d8d2d
--- /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);
+}