Print this page
11210 libm should be cstyle(1ONBLD) clean
*** 56,68 ****
#define n2 0
#define n3 0
/*
* if pseudo-denormal, replace by the equivalent normal
*/
! #define X86PDNRM1(x) if (XBIASED_EXP(x) == 0 && (((int *) &x)[1] & \
0x80000000) != 0) \
! ((int *) &x)[2] |= 1
#define INC(px) { \
if (++px[n2] == 0) \
if ((++px[n1] & ~0x80000000) == 0) \
px[n1] = 0x80000000, ++px[n0]; \
}
--- 56,68 ----
#define n2 0
#define n3 0
/*
* if pseudo-denormal, replace by the equivalent normal
*/
! #define X86PDNRM1(x) if (XBIASED_EXP(x) == 0 && (((int *)&x)[1] & \
0x80000000) != 0) \
! ((int *)&x)[2] |= 1
#define INC(px) { \
if (++px[n2] == 0) \
if ((++px[n1] & ~0x80000000) == 0) \
px[n1] = 0x80000000, ++px[n0]; \
}
*** 73,85 ****
px[n1] |= 0x80000000; \
}
#endif
long double
! nextafterl(long double x, long double y) {
! int *px = (int *) &x;
! int *py = (int *) &y;
if (x == y)
return (y); /* C99 requirement */
if (x != x || y != y)
return (x * y);
--- 73,86 ----
px[n1] |= 0x80000000; \
}
#endif
long double
! nextafterl(long double x, long double y)
! {
! int *px = (int *)&x;
! int *py = (int *)&y;
if (x == y)
return (y); /* C99 requirement */
if (x != x || y != y)
return (x * y);