]>
git.ipfire.org Git - thirdparty/glibc.git/blob - math/w_exp2_compat.c
a4d46537085640ed3f8cd9d1b7af109afff97d60
6 #include <math_private.h>
7 #include <math-svid-compat.h>
12 double z
= __ieee754_exp2 (x
);
13 if (__builtin_expect (!isfinite (z
) || z
== 0, 0)
14 && isfinite (x
) && _LIB_VERSION
!= _IEEE_
)
15 /* exp2 overflow: 44, exp2 underflow: 45 */
16 return __kernel_standard (x
, x
, 44 + !!signbit (x
));
20 weak_alias (__exp2
, exp2
)
22 strong_alias (__exp2
, __exp2l
)
23 weak_alias (__exp2
, exp2l
)