-/*
- * wrapper exp2f(x)
- */
-
-#include <math.h>
-#include <math_private.h>
-
-float
-__exp2f (float x)
-{
- float z = __ieee754_exp2f (x);
- if (__builtin_expect (!__finitef (z), 0)
- && __finitef (x) && _LIB_VERSION != _IEEE_)
- /* exp2 overflow: 144, exp2 underflow: 145 */
- return __kernel_standard_f (x, x, 144 + !!__signbitf (x));
-
- return z;
-}
-weak_alias (__exp2f, exp2f)
+#include <math-type-macros-float.h>
+#undef __USE_WRAPPER_TEMPLATE
+#define __USE_WRAPPER_TEMPLATE 1
+#undef declare_mgen_alias
+#define declare_mgen_alias(a, b)
+#include <w_exp2_template.c>
+versioned_symbol (libm, __exp2f, exp2f, GLIBC_2_27);
+libm_alias_float_other (__exp2, exp2)