glibc/math/e_exp2l.c

11 lines
235 B
C
Raw Normal View History

#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);
}