7 #include "math_private.h"
9 static const long double o_threshold
= (long double) LDBL_MAX_EXP
;
10 static const long double u_threshold
= (long double) LDBL_MIN_EXP
;
13 __exp2l (long double x
) /* wrapper exp2l */
16 return __ieee754_exp2l (x
);
19 z
= __ieee754_exp2l (x
);
20 if (_LIB_VERSION
!= _IEEE_
&& __finitel (x
))
23 return __kernel_standard (x
, x
, 244); /* exp2l overflow */
24 else if (x
< u_threshold
)
25 return __kernel_standard (x
, x
, 245); /* exp2l underflow */
30 weak_alias (__exp2l
, exp2l
)