glibc/math/e_exp2l.c
Ulrich Drepper 0ac5ae2335 Optimize libm
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
2011-10-12 11:27:51 -04:00

12 lines
282 B
C

#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);
}
strong_alias (__ieee754_exp2l, __exp2l_finite)