7 #include "math_private.h"
9 static const double o_threshold= (double) DBL_MAX_EXP;
10 static const double u_threshold= (double) (DBL_MIN_EXP - DBL_MANT_DIG - 1);
13 __exp2 (double x) /* wrapper exp2 */
16 return __ieee754_exp2 (x);
19 z = __ieee754_exp2 (x);
20 if (_LIB_VERSION != _IEEE_ && __finite (x))
24 return __kernel_standard (x, x, 44);
25 else if (x <= u_threshold)
27 return __kernel_standard (x, x, 45);
32 weak_alias (__exp2, exp2)
34 strong_alias (__exp2, __exp2l)
35 weak_alias (__exp2, exp2l)