mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
0ac5ae2335
libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
12 lines
282 B
C
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)
|