7 #include "math_private.h"
9 static const float o_threshold
= (float) FLT_MAX_EXP
;
10 static const float u_threshold
= (float) FLT_MIN_EXP
;
13 __exp2f (float x
) /* wrapper exp2f */
16 return __ieee754_exp2f (x
);
19 z
= __ieee754_exp2f (x
);
20 if (_LIB_VERSION
!= _IEEE_
&& __finitef (x
))
24 return (float) __kernel_standard ((double) x
, (double) x
, 144);
25 else if (x
< u_threshold
)
27 return (float) __kernel_standard ((double) x
, (double) x
, 145);
32 weak_alias (__exp2f
, exp2f
)