#include <errno.h>
#include <math.h>
+#include <math-barriers.h>
#include <math_private.h>
#include <float.h>
+#include <libm-alias-double.h>
double __nextafter(double x, double y)
{
int32_t hx,hy,ix,iy;
- u_int32_t lx,ly;
+ uint32_t lx,ly;
EXTRACT_WORDS(hx,lx,x);
EXTRACT_WORDS(hy,ly,y);
INSERT_WORDS(x,hx,lx);
return x;
}
-weak_alias (__nextafter, nextafter)
+libm_alias_double (__nextafter, nextafter)
#ifdef NO_LONG_DOUBLE
-strong_alias (__nextafter, __nextafterl)
-weak_alias (__nextafter, nextafterl)
strong_alias (__nextafter, __nexttowardl)
weak_alias (__nexttowardl, nexttowardl)
#undef __nexttoward