6 #include "math_private.h"
11 #if defined(__UCLIBC_HAS_FENV__)
12 float z
= (float) pow(2.0, (double) x
);
13 if (__builtin_expect (!isfinite (z
) || z
== 0, 0)
14 && isfinite (x
) && _LIB_VERSION
!= _IEEE_
)
15 /* exp2 overflow: 144, exp2 underflow: 145 */
16 return __kernel_standard_f (x
, x
, 144 + !!signbit (x
));
20 return (float) pow(2.0, (double) x
);