diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128')
39 files changed, 68 insertions, 68 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_acoshl.c b/sysdeps/ieee754/ldbl-128/e_acoshl.c index 7c79d43..10576c9 100644 --- a/sysdeps/ieee754/ldbl-128/e_acoshl.c +++ b/sysdeps/ieee754/ldbl-128/e_acoshl.c @@ -38,7 +38,7 @@ _Float128 __ieee754_acoshl(_Float128 x) { _Float128 t; - u_int64_t lx; + uint64_t lx; int64_t hx; GET_LDOUBLE_WORDS64(hx,lx,x); if(hx<0x3fff000000000000LL) { /* x < 1 */ diff --git a/sysdeps/ieee754/ldbl-128/e_atan2l.c b/sysdeps/ieee754/ldbl-128/e_atan2l.c index faecd1a..8b4afa4 100644 --- a/sysdeps/ieee754/ldbl-128/e_atan2l.c +++ b/sysdeps/ieee754/ldbl-128/e_atan2l.c @@ -56,7 +56,7 @@ __ieee754_atan2l(_Float128 y, _Float128 x) { _Float128 z; int64_t k,m,hx,hy,ix,iy; - u_int64_t lx,ly; + uint64_t lx,ly; GET_LDOUBLE_WORDS64(hx,lx,x); ix = hx&0x7fffffffffffffffLL; @@ -109,7 +109,7 @@ __ieee754_atan2l(_Float128 y, _Float128 x) switch (m) { case 0: return z ; /* atan(+,+) */ case 1: { - u_int64_t zh; + uint64_t zh; GET_LDOUBLE_MSW64(zh,z); SET_LDOUBLE_MSW64(z,zh ^ 0x8000000000000000ULL); } diff --git a/sysdeps/ieee754/ldbl-128/e_atanhl.c b/sysdeps/ieee754/ldbl-128/e_atanhl.c index 3905af4..4c8c2e2 100644 --- a/sysdeps/ieee754/ldbl-128/e_atanhl.c +++ b/sysdeps/ieee754/ldbl-128/e_atanhl.c @@ -44,7 +44,7 @@ _Float128 __ieee754_atanhl(_Float128 x) { _Float128 t; - u_int32_t jx, ix; + uint32_t jx, ix; ieee854_long_double_shape_type u; u.value = x; diff --git a/sysdeps/ieee754/ldbl-128/e_fmodl.c b/sysdeps/ieee754/ldbl-128/e_fmodl.c index f27cd4f..7346512 100644 --- a/sysdeps/ieee754/ldbl-128/e_fmodl.c +++ b/sysdeps/ieee754/ldbl-128/e_fmodl.c @@ -27,7 +27,7 @@ _Float128 __ieee754_fmodl (_Float128 x, _Float128 y) { int64_t n,hx,hy,hz,ix,iy,sx,i; - u_int64_t lx,ly,lz; + uint64_t lx,ly,lz; GET_LDOUBLE_WORDS64(hx,lx,x); GET_LDOUBLE_WORDS64(hy,ly,y); @@ -42,7 +42,7 @@ __ieee754_fmodl (_Float128 x, _Float128 y) if(hx<=hy) { if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ if(lx==ly) - return Zero[(u_int64_t)sx>>63]; /* |x|=|y| return x*0*/ + return Zero[(uint64_t)sx>>63]; /* |x|=|y| return x*0*/ } /* determine ix = ilogb(x) */ @@ -96,7 +96,7 @@ __ieee754_fmodl (_Float128 x, _Float128 y) if(hz<0){hx = hx+hx+(lx>>63); lx = lx+lx;} else { if((hz|lz)==0) /* return sign(x)*0 */ - return Zero[(u_int64_t)sx>>63]; + return Zero[(uint64_t)sx>>63]; hx = hz+hz+(lz>>63); lx = lz+lz; } } @@ -105,7 +105,7 @@ __ieee754_fmodl (_Float128 x, _Float128 y) /* convert back to floating value and restore the sign */ if((hx|lx)==0) /* return sign(x)*0 */ - return Zero[(u_int64_t)sx>>63]; + return Zero[(uint64_t)sx>>63]; while(hx<0x0001000000000000LL) { /* normalize x */ hx = hx+hx+(lx>>63); lx = lx+lx; iy -= 1; @@ -116,7 +116,7 @@ __ieee754_fmodl (_Float128 x, _Float128 y) } else { /* subnormal output */ n = -16382 - iy; if(n<=48) { - lx = (lx>>n)|((u_int64_t)hx<<(64-n)); + lx = (lx>>n)|((uint64_t)hx<<(64-n)); hx >>= n; } else if (n<=63) { lx = (hx<<(64-n))|(lx>>n); hx = sx; diff --git a/sysdeps/ieee754/ldbl-128/e_gammal_r.c b/sysdeps/ieee754/ldbl-128/e_gammal_r.c index 3a5317a..963cbbf 100644 --- a/sysdeps/ieee754/ldbl-128/e_gammal_r.c +++ b/sysdeps/ieee754/ldbl-128/e_gammal_r.c @@ -123,7 +123,7 @@ _Float128 __ieee754_gammal_r (_Float128 x, int *signgamp) { int64_t hx; - u_int64_t lx; + uint64_t lx; _Float128 ret; GET_LDOUBLE_WORDS64 (hx, lx, x); @@ -134,7 +134,7 @@ __ieee754_gammal_r (_Float128 x, int *signgamp) *signgamp = 0; return 1.0 / x; } - if (hx < 0 && (u_int64_t) hx < 0xffff000000000000ULL && __rintl (x) == x) + if (hx < 0 && (uint64_t) hx < 0xffff000000000000ULL && __rintl (x) == x) { /* Return value for integer x < 0 is NaN with invalid exception. */ *signgamp = 0; diff --git a/sysdeps/ieee754/ldbl-128/e_hypotl.c b/sysdeps/ieee754/ldbl-128/e_hypotl.c index 6c4e178..87160e4 100644 --- a/sysdeps/ieee754/ldbl-128/e_hypotl.c +++ b/sysdeps/ieee754/ldbl-128/e_hypotl.c @@ -65,7 +65,7 @@ __ieee754_hypotl(_Float128 x, _Float128 y) k=0; if(ha > 0x5f3f000000000000LL) { /* a>2**8000 */ if(ha >= 0x7fff000000000000LL) { /* Inf or NaN */ - u_int64_t low; + uint64_t low; w = a+b; /* for sNaN */ if (issignaling (a) || issignaling (b)) return w; @@ -83,7 +83,7 @@ __ieee754_hypotl(_Float128 x, _Float128 y) } if(hb < 0x20bf000000000000LL) { /* b < 2**-8000 */ if(hb <= 0x0000ffffffffffffLL) { /* subnormal b or 0 */ - u_int64_t low; + uint64_t low; GET_LDOUBLE_LSW64(low,b); if((hb|low)==0) return a; t1=0; @@ -128,7 +128,7 @@ __ieee754_hypotl(_Float128 x, _Float128 y) w = __ieee754_sqrtl(t1*y1-(w*(-w)-(t1*y2+t2*b))); } if(k!=0) { - u_int64_t high; + uint64_t high; t1 = 1; GET_LDOUBLE_MSW64(high,t1); SET_LDOUBLE_MSW64(t1,high+(k<<48)); diff --git a/sysdeps/ieee754/ldbl-128/e_jnl.c b/sysdeps/ieee754/ldbl-128/e_jnl.c index 470631e..7ae671b 100644 --- a/sysdeps/ieee754/ldbl-128/e_jnl.c +++ b/sysdeps/ieee754/ldbl-128/e_jnl.c @@ -71,7 +71,7 @@ static const _Float128 _Float128 __ieee754_jnl (int n, _Float128 x) { - u_int32_t se; + uint32_t se; int32_t i, ix, sgn; _Float128 a, b, temp, di, ret; _Float128 z, w; @@ -309,7 +309,7 @@ strong_alias (__ieee754_jnl, __jnl_finite) _Float128 __ieee754_ynl (int n, _Float128 x) { - u_int32_t se; + uint32_t se; int32_t i, ix; int32_t sign; _Float128 a, b, temp, ret; diff --git a/sysdeps/ieee754/ldbl-128/e_powl.c b/sysdeps/ieee754/ldbl-128/e_powl.c index a344840..2aef955 100644 --- a/sysdeps/ieee754/ldbl-128/e_powl.c +++ b/sysdeps/ieee754/ldbl-128/e_powl.c @@ -151,7 +151,7 @@ __ieee754_powl (_Float128 x, _Float128 y) _Float128 y1, t1, t2, r, s, sgn, t, u, v, w; _Float128 s2, s_h, s_l, t_h, t_l, ay; int32_t i, j, k, yisint, n; - u_int32_t ix, iy; + uint32_t ix, iy; int32_t hx, hy; ieee854_long_double_shape_type o, p, q; @@ -260,12 +260,12 @@ __ieee754_powl (_Float128 x, _Float128 y) } /* (x<0)**(non-int) is NaN */ - if (((((u_int32_t) hx >> 31) - 1) | yisint) == 0) + if (((((uint32_t) hx >> 31) - 1) | yisint) == 0) return (x - x) / (x - x); /* sgn (sign of result -ve**odd) = -1 else = 1 */ sgn = one; - if (((((u_int32_t) hx >> 31) - 1) | (yisint - 1)) == 0) + if (((((uint32_t) hx >> 31) - 1) | (yisint - 1)) == 0) sgn = -one; /* (-ve)**(odd int) */ /* |y| is huge. diff --git a/sysdeps/ieee754/ldbl-128/e_rem_pio2l.c b/sysdeps/ieee754/ldbl-128/e_rem_pio2l.c index 21b4407..3986256 100644 --- a/sysdeps/ieee754/ldbl-128/e_rem_pio2l.c +++ b/sysdeps/ieee754/ldbl-128/e_rem_pio2l.c @@ -198,7 +198,7 @@ int32_t __ieee754_rem_pio2l(_Float128 x, _Float128 *y) _Float128 z, w, t; double tx[8]; int64_t exp, n, ix, hx; - u_int64_t lx; + uint64_t lx; GET_LDOUBLE_WORDS64 (hx, lx, x); ix = hx & 0x7fffffffffffffffLL; diff --git a/sysdeps/ieee754/ldbl-128/e_remainderl.c b/sysdeps/ieee754/ldbl-128/e_remainderl.c index c1c196c..09b8640 100644 --- a/sysdeps/ieee754/ldbl-128/e_remainderl.c +++ b/sysdeps/ieee754/ldbl-128/e_remainderl.c @@ -31,7 +31,7 @@ _Float128 __ieee754_remainderl(_Float128 x, _Float128 p) { int64_t hx,hp; - u_int64_t sx,lx,lp; + uint64_t sx,lx,lp; _Float128 p_half; GET_LDOUBLE_WORDS64(hx,lx,x); diff --git a/sysdeps/ieee754/ldbl-128/e_sinhl.c b/sysdeps/ieee754/ldbl-128/e_sinhl.c index a2b30c2..cce5b6e 100644 --- a/sysdeps/ieee754/ldbl-128/e_sinhl.c +++ b/sysdeps/ieee754/ldbl-128/e_sinhl.c @@ -64,7 +64,7 @@ _Float128 __ieee754_sinhl (_Float128 x) { _Float128 t, w, h; - u_int32_t jx, ix; + uint32_t jx, ix; ieee854_long_double_shape_type u; /* Words of |x|. */ diff --git a/sysdeps/ieee754/ldbl-128/k_cosl.c b/sysdeps/ieee754/ldbl-128/k_cosl.c index b7c6063..b300a7d 100644 --- a/sysdeps/ieee754/ldbl-128/k_cosl.c +++ b/sysdeps/ieee754/ldbl-128/k_cosl.c @@ -81,9 +81,9 @@ __kernel_cosl(_Float128 x, _Float128 y) { _Float128 h, l, z, sin_l, cos_l_m1; int64_t ix; - u_int32_t tix, hix, index; + uint32_t tix, hix, index; GET_LDOUBLE_MSW64 (ix, x); - tix = ((u_int64_t)ix) >> 32; + tix = ((uint64_t)ix) >> 32; tix &= ~0x80000000; /* tix = |x|'s high 32 bits */ if (tix < 0x3ffc3000) /* |x| < 0.1484375 */ { @@ -118,7 +118,7 @@ __kernel_cosl(_Float128 x, _Float128 y) case 2: index = (hix - 0x3ffc3000) >> 10; break; } - SET_LDOUBLE_WORDS64(h, ((u_int64_t)hix) << 32, 0); + SET_LDOUBLE_WORDS64(h, ((uint64_t)hix) << 32, 0); l = y - (h - x); z = l * l; sin_l = l*(ONE+z*(SSIN1+z*(SSIN2+z*(SSIN3+z*(SSIN4+z*SSIN5))))); diff --git a/sysdeps/ieee754/ldbl-128/k_sincosl.c b/sysdeps/ieee754/ldbl-128/k_sincosl.c index 03710f9..6368169 100644 --- a/sysdeps/ieee754/ldbl-128/k_sincosl.c +++ b/sysdeps/ieee754/ldbl-128/k_sincosl.c @@ -101,9 +101,9 @@ __kernel_sincosl(_Float128 x, _Float128 y, _Float128 *sinx, _Float128 *cosx, int { _Float128 h, l, z, sin_l, cos_l_m1; int64_t ix; - u_int32_t tix, hix, index; + uint32_t tix, hix, index; GET_LDOUBLE_MSW64 (ix, x); - tix = ((u_int64_t)ix) >> 32; + tix = ((uint64_t)ix) >> 32; tix &= ~0x80000000; /* tix = |x|'s high 32 bits */ if (tix < 0x3ffc3000) /* |x| < 0.1484375 */ { @@ -149,7 +149,7 @@ __kernel_sincosl(_Float128 x, _Float128 y, _Float128 *sinx, _Float128 *cosx, int case 2: index = (hix - 0x3ffc3000) >> 10; break; } - SET_LDOUBLE_WORDS64(h, ((u_int64_t)hix) << 32, 0); + SET_LDOUBLE_WORDS64(h, ((uint64_t)hix) << 32, 0); if (iy) l = y - (h - x); else diff --git a/sysdeps/ieee754/ldbl-128/k_sinl.c b/sysdeps/ieee754/ldbl-128/k_sinl.c index 4107eeb..256e2e7 100644 --- a/sysdeps/ieee754/ldbl-128/k_sinl.c +++ b/sysdeps/ieee754/ldbl-128/k_sinl.c @@ -82,9 +82,9 @@ __kernel_sinl(_Float128 x, _Float128 y, int iy) { _Float128 h, l, z, sin_l, cos_l_m1; int64_t ix; - u_int32_t tix, hix, index; + uint32_t tix, hix, index; GET_LDOUBLE_MSW64 (ix, x); - tix = ((u_int64_t)ix) >> 32; + tix = ((uint64_t)ix) >> 32; tix &= ~0x80000000; /* tix = |x|'s high 32 bits */ if (tix < 0x3ffc3000) /* |x| < 0.1484375 */ { @@ -118,7 +118,7 @@ __kernel_sinl(_Float128 x, _Float128 y, int iy) case 2: index = (hix - 0x3ffc3000) >> 10; break; } - SET_LDOUBLE_WORDS64(h, ((u_int64_t)hix) << 32, 0); + SET_LDOUBLE_WORDS64(h, ((uint64_t)hix) << 32, 0); if (iy) l = (ix < 0 ? -y : y) - (h - x); else diff --git a/sysdeps/ieee754/ldbl-128/s_ceill.c b/sysdeps/ieee754/ldbl-128/s_ceill.c index 8034795..8ac39fa 100644 --- a/sysdeps/ieee754/ldbl-128/s_ceill.c +++ b/sysdeps/ieee754/ldbl-128/s_ceill.c @@ -30,7 +30,7 @@ static char rcsid[] = "$NetBSD: $"; _Float128 __ceill(_Float128 x) { int64_t i0,i1,j0; - u_int64_t i,j; + uint64_t i,j; GET_LDOUBLE_WORDS64(i0,i1,x); j0 = ((i0>>48)&0x7fff)-0x3fff; if(j0<48) { diff --git a/sysdeps/ieee754/ldbl-128/s_copysignl.c b/sysdeps/ieee754/ldbl-128/s_copysignl.c index 8ee85ea..e514e3c 100644 --- a/sysdeps/ieee754/ldbl-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-128/s_copysignl.c @@ -28,7 +28,7 @@ static char rcsid[] = "$NetBSD: $"; _Float128 __copysignl(_Float128 x, _Float128 y) { - u_int64_t hx,hy; + uint64_t hx,hy; GET_LDOUBLE_MSW64(hx,x); GET_LDOUBLE_MSW64(hy,y); SET_LDOUBLE_MSW64(x,(hx&0x7fffffffffffffffULL) diff --git a/sysdeps/ieee754/ldbl-128/s_erfl.c b/sysdeps/ieee754/ldbl-128/s_erfl.c index e5dfae9..ce9e6cc 100644 --- a/sysdeps/ieee754/ldbl-128/s_erfl.c +++ b/sysdeps/ieee754/ldbl-128/s_erfl.c @@ -819,7 +819,7 @@ __erfcl (_Float128 x) if (ix >= 0x7fff0000) { /* erfc(nan)=nan */ /* erfc(+-inf)=0,2 */ - return (_Float128) (((u_int32_t) sign >> 31) << 1) + one / x; + return (_Float128) (((uint32_t) sign >> 31) << 1) + one / x; } if (ix < 0x3ffd0000) /* |x| <1/4 */ diff --git a/sysdeps/ieee754/ldbl-128/s_fabsl.c b/sysdeps/ieee754/ldbl-128/s_fabsl.c index 0ce6f73..1efb7a2 100644 --- a/sysdeps/ieee754/ldbl-128/s_fabsl.c +++ b/sysdeps/ieee754/ldbl-128/s_fabsl.c @@ -26,7 +26,7 @@ static char rcsid[] = "$NetBSD: $"; _Float128 __fabsl(_Float128 x) { - u_int64_t hx; + uint64_t hx; GET_LDOUBLE_MSW64(hx,x); SET_LDOUBLE_MSW64(x,hx&0x7fffffffffffffffLL); return x; diff --git a/sysdeps/ieee754/ldbl-128/s_finitel.c b/sysdeps/ieee754/ldbl-128/s_finitel.c index 7c69968..d42b378 100644 --- a/sysdeps/ieee754/ldbl-128/s_finitel.c +++ b/sysdeps/ieee754/ldbl-128/s_finitel.c @@ -29,8 +29,8 @@ int __finitel(_Float128 x) { int64_t hx; GET_LDOUBLE_MSW64(hx,x); - return (int)((u_int64_t)((hx&0x7fff000000000000LL) - -0x7fff000000000000LL)>>63); + return (int)((uint64_t)((hx&0x7fff000000000000LL) + -0x7fff000000000000LL)>>63); } mathx_hidden_def (__finitel) weak_alias (__finitel, finitel) diff --git a/sysdeps/ieee754/ldbl-128/s_floorl.c b/sysdeps/ieee754/ldbl-128/s_floorl.c index 13ad084..77b1473 100644 --- a/sysdeps/ieee754/ldbl-128/s_floorl.c +++ b/sysdeps/ieee754/ldbl-128/s_floorl.c @@ -30,7 +30,7 @@ static char rcsid[] = "$NetBSD: $"; _Float128 __floorl(_Float128 x) { int64_t i0,i1,j0; - u_int64_t i,j; + uint64_t i,j; GET_LDOUBLE_WORDS64(i0,i1,x); j0 = ((i0>>48)&0x7fff)-0x3fff; if(j0<48) { diff --git a/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c b/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c index daa7d79..1890c02 100644 --- a/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c +++ b/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c @@ -26,7 +26,7 @@ int __fpclassifyl (_Float128 x) { - u_int64_t hx, lx; + uint64_t hx, lx; int retval = FP_NORMAL; GET_LDOUBLE_WORDS64 (hx, lx, x); diff --git a/sysdeps/ieee754/ldbl-128/s_frexpl.c b/sysdeps/ieee754/ldbl-128/s_frexpl.c index 47a171f..7ac28f1 100644 --- a/sysdeps/ieee754/ldbl-128/s_frexpl.c +++ b/sysdeps/ieee754/ldbl-128/s_frexpl.c @@ -35,7 +35,7 @@ two114 = L(2.0769187434139310514121985316880384E+34); /* 0x4071000000000000, 0 * _Float128 __frexpl(_Float128 x, int *eptr) { - u_int64_t hx, lx, ix; + uint64_t hx, lx, ix; GET_LDOUBLE_WORDS64(hx,lx,x); ix = 0x7fffffffffffffffULL&hx; *eptr = 0; diff --git a/sysdeps/ieee754/ldbl-128/s_isnanl.c b/sysdeps/ieee754/ldbl-128/s_isnanl.c index 80f97fe..8ebef00 100644 --- a/sysdeps/ieee754/ldbl-128/s_isnanl.c +++ b/sysdeps/ieee754/ldbl-128/s_isnanl.c @@ -30,9 +30,9 @@ int __isnanl(_Float128 x) int64_t hx,lx; GET_LDOUBLE_WORDS64(hx,lx,x); hx &= 0x7fffffffffffffffLL; - hx |= (u_int64_t)(lx|(-lx))>>63; + hx |= (uint64_t)(lx|(-lx))>>63; hx = 0x7fff000000000000LL - hx; - return (int)((u_int64_t)hx>>63); + return (int)((uint64_t)hx>>63); } mathx_hidden_def (__isnanl) weak_alias (__isnanl, isnanl) diff --git a/sysdeps/ieee754/ldbl-128/s_issignalingl.c b/sysdeps/ieee754/ldbl-128/s_issignalingl.c index 02d6a0a..71f3523 100644 --- a/sysdeps/ieee754/ldbl-128/s_issignalingl.c +++ b/sysdeps/ieee754/ldbl-128/s_issignalingl.c @@ -23,7 +23,7 @@ int __issignalingl (_Float128 x) { - u_int64_t hxi, lxi __attribute__ ((unused)); + uint64_t hxi, lxi __attribute__ ((unused)); GET_LDOUBLE_WORDS64 (hxi, lxi, x); #if HIGH_ORDER_BIT_IS_SET_FOR_SNAN /* We only have to care about the high-order bit of x's significand, because diff --git a/sysdeps/ieee754/ldbl-128/s_llrintl.c b/sysdeps/ieee754/ldbl-128/s_llrintl.c index d08a90a..94798cf 100644 --- a/sysdeps/ieee754/ldbl-128/s_llrintl.c +++ b/sysdeps/ieee754/ldbl-128/s_llrintl.c @@ -36,7 +36,7 @@ long long int __llrintl (_Float128 x) { int32_t j0; - u_int64_t i0,i1; + uint64_t i0,i1; _Float128 w; _Float128 t; long long int result; diff --git a/sysdeps/ieee754/ldbl-128/s_llroundl.c b/sysdeps/ieee754/ldbl-128/s_llroundl.c index bb0b5bc..8b44f1f 100644 --- a/sysdeps/ieee754/ldbl-128/s_llroundl.c +++ b/sysdeps/ieee754/ldbl-128/s_llroundl.c @@ -29,7 +29,7 @@ long long int __llroundl (_Float128 x) { int64_t j0; - u_int64_t i1, i0; + uint64_t i1, i0; long long int result; int sign; @@ -55,7 +55,7 @@ __llroundl (_Float128 x) result = ((long long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); else { - u_int64_t j = i1 + (0x8000000000000000ULL >> (j0 - 48)); + uint64_t j = i1 + (0x8000000000000000ULL >> (j0 - 48)); if (j < i1) ++i0; diff --git a/sysdeps/ieee754/ldbl-128/s_lrintl.c b/sysdeps/ieee754/ldbl-128/s_lrintl.c index c690ddc..49b736b 100644 --- a/sysdeps/ieee754/ldbl-128/s_lrintl.c +++ b/sysdeps/ieee754/ldbl-128/s_lrintl.c @@ -36,7 +36,7 @@ long int __lrintl (_Float128 x) { int32_t j0; - u_int64_t i0,i1; + uint64_t i0,i1; _Float128 w; _Float128 t; long int result; diff --git a/sysdeps/ieee754/ldbl-128/s_lroundl.c b/sysdeps/ieee754/ldbl-128/s_lroundl.c index 4191125..15d0106 100644 --- a/sysdeps/ieee754/ldbl-128/s_lroundl.c +++ b/sysdeps/ieee754/ldbl-128/s_lroundl.c @@ -29,7 +29,7 @@ long int __lroundl (_Float128 x) { int64_t j0; - u_int64_t i1, i0; + uint64_t i1, i0; long int result; int sign; @@ -62,7 +62,7 @@ __lroundl (_Float128 x) result = ((long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); else { - u_int64_t j = i1 + (0x8000000000000000ULL >> (j0 - 48)); + uint64_t j = i1 + (0x8000000000000000ULL >> (j0 - 48)); if (j < i1) ++i0; diff --git a/sysdeps/ieee754/ldbl-128/s_modfl.c b/sysdeps/ieee754/ldbl-128/s_modfl.c index 01e150b..6f7e48b 100644 --- a/sysdeps/ieee754/ldbl-128/s_modfl.c +++ b/sysdeps/ieee754/ldbl-128/s_modfl.c @@ -35,7 +35,7 @@ static const _Float128 one = 1.0; _Float128 __modfl(_Float128 x, _Float128 *iptr) { int64_t i0,i1,j0; - u_int64_t i; + uint64_t i; GET_LDOUBLE_WORDS64(i0,i1,x); j0 = ((i0>>48)&0x7fff)-0x3fff; /* exponent of x */ if(j0<48) { /* integer part in high x */ diff --git a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c index 1565a81..631b0e0 100644 --- a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c +++ b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c @@ -37,10 +37,10 @@ _Float128 __nearbyintl(_Float128 x) { fenv_t env; int64_t i0,j0,sx; - u_int64_t i1 __attribute__ ((unused)); + uint64_t i1 __attribute__ ((unused)); _Float128 w,t; GET_LDOUBLE_WORDS64(i0,i1,x); - sx = (((u_int64_t)i0)>>63); + sx = (((uint64_t)i0)>>63); j0 = ((i0>>48)&0x7fff)-0x3fff; if(j0<112) { if(j0<0) { diff --git a/sysdeps/ieee754/ldbl-128/s_nextafterl.c b/sysdeps/ieee754/ldbl-128/s_nextafterl.c index d29f58a..6c63d17 100644 --- a/sysdeps/ieee754/ldbl-128/s_nextafterl.c +++ b/sysdeps/ieee754/ldbl-128/s_nextafterl.c @@ -31,7 +31,7 @@ static char rcsid[] = "$NetBSD: $"; _Float128 __nextafterl(_Float128 x, _Float128 y) { int64_t hx,hy,ix,iy; - u_int64_t lx,ly; + uint64_t lx,ly; GET_LDOUBLE_WORDS64(hx,lx,x); GET_LDOUBLE_WORDS64(hy,ly,y); diff --git a/sysdeps/ieee754/ldbl-128/s_nexttoward.c b/sysdeps/ieee754/ldbl-128/s_nexttoward.c index 4343fe8..04d094e 100644 --- a/sysdeps/ieee754/ldbl-128/s_nexttoward.c +++ b/sysdeps/ieee754/ldbl-128/s_nexttoward.c @@ -34,8 +34,8 @@ double __nexttoward(double x, long double y) { int32_t hx,ix; int64_t hy,iy; - u_int32_t lx; - u_int64_t ly; + uint32_t lx; + uint64_t ly; EXTRACT_WORDS(hx,lx,x); GET_LDOUBLE_WORDS64(hy,ly,y); @@ -49,7 +49,7 @@ double __nexttoward(double x, long double y) if((long double) x==y) return y; /* x=y, return y */ if((ix|lx)==0) { /* x == 0 */ double u; - INSERT_WORDS(x,(u_int32_t)((hy>>32)&0x80000000),1);/* return +-minsub */ + INSERT_WORDS(x,(uint32_t)((hy>>32)&0x80000000),1);/* return +-minsub */ u = math_opt_barrier (x); u = u * u; math_force_eval (u); /* raise underflow flag */ diff --git a/sysdeps/ieee754/ldbl-128/s_nexttowardf.c b/sysdeps/ieee754/ldbl-128/s_nexttowardf.c index 8703359..6d5121d 100644 --- a/sysdeps/ieee754/ldbl-128/s_nexttowardf.c +++ b/sysdeps/ieee754/ldbl-128/s_nexttowardf.c @@ -26,7 +26,7 @@ float __nexttowardf(float x, long double y) { int32_t hx,ix; int64_t hy,iy; - u_int64_t ly; + uint64_t ly; GET_FLOAT_WORD(hx,x); GET_LDOUBLE_WORDS64(hy,ly,y); @@ -40,7 +40,7 @@ float __nexttowardf(float x, long double y) if((long double) x==y) return y; /* x=y, return y */ if(ix==0) { /* x == 0 */ float u; - SET_FLOAT_WORD(x,(u_int32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ + SET_FLOAT_WORD(x,(uint32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ u = math_opt_barrier (x); u = u * u; math_force_eval (u); /* raise underflow flag */ diff --git a/sysdeps/ieee754/ldbl-128/s_nextupl.c b/sysdeps/ieee754/ldbl-128/s_nextupl.c index 85f43b4..9e778de 100644 --- a/sysdeps/ieee754/ldbl-128/s_nextupl.c +++ b/sysdeps/ieee754/ldbl-128/s_nextupl.c @@ -24,7 +24,7 @@ _Float128 __nextupl (_Float128 x) { int64_t hx, ix; - u_int64_t lx; + uint64_t lx; GET_LDOUBLE_WORDS64 (hx, lx, x); ix = hx & 0x7fffffffffffffffLL; diff --git a/sysdeps/ieee754/ldbl-128/s_remquol.c b/sysdeps/ieee754/ldbl-128/s_remquol.c index d360f82..fdecab5 100644 --- a/sysdeps/ieee754/ldbl-128/s_remquol.c +++ b/sysdeps/ieee754/ldbl-128/s_remquol.c @@ -30,7 +30,7 @@ _Float128 __remquol (_Float128 x, _Float128 y, int *quo) { int64_t hx,hy; - u_int64_t sx,lx,ly,qs; + uint64_t sx,lx,ly,qs; int cquo; GET_LDOUBLE_WORDS64 (hx, lx, x); diff --git a/sysdeps/ieee754/ldbl-128/s_rintl.c b/sysdeps/ieee754/ldbl-128/s_rintl.c index 4109516..dff5c43 100644 --- a/sysdeps/ieee754/ldbl-128/s_rintl.c +++ b/sysdeps/ieee754/ldbl-128/s_rintl.c @@ -39,10 +39,10 @@ TWO112[2]={ _Float128 __rintl(_Float128 x) { int64_t i0,j0,sx; - u_int64_t i1 __attribute__ ((unused)); + uint64_t i1 __attribute__ ((unused)); _Float128 w,t; GET_LDOUBLE_WORDS64(i0,i1,x); - sx = (((u_int64_t)i0)>>63); + sx = (((uint64_t)i0)>>63); j0 = ((i0>>48)&0x7fff)-0x3fff; if(j0<112) { if(j0<0) { diff --git a/sysdeps/ieee754/ldbl-128/s_roundl.c b/sysdeps/ieee754/ldbl-128/s_roundl.c index 078d9b9..18e8b65 100644 --- a/sysdeps/ieee754/ldbl-128/s_roundl.c +++ b/sysdeps/ieee754/ldbl-128/s_roundl.c @@ -27,7 +27,7 @@ _Float128 __roundl (_Float128 x) { int32_t j0; - u_int64_t i1, i0; + uint64_t i1, i0; GET_LDOUBLE_WORDS64 (i0, i1, x); j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; @@ -42,7 +42,7 @@ __roundl (_Float128 x) } else { - u_int64_t i = 0x0000ffffffffffffLL >> j0; + uint64_t i = 0x0000ffffffffffffLL >> j0; if (((i0 & i) | i1) == 0) /* X is integral. */ return x; @@ -62,12 +62,12 @@ __roundl (_Float128 x) } else { - u_int64_t i = -1ULL >> (j0 - 48); + uint64_t i = -1ULL >> (j0 - 48); if ((i1 & i) == 0) /* X is integral. */ return x; - u_int64_t j = i1 + (1LL << (111 - j0)); + uint64_t j = i1 + (1LL << (111 - j0)); if (j < i1) i0 += 1; i1 = j; diff --git a/sysdeps/ieee754/ldbl-128/s_tanhl.c b/sysdeps/ieee754/ldbl-128/s_tanhl.c index 0db8f5f..861b7f8 100644 --- a/sysdeps/ieee754/ldbl-128/s_tanhl.c +++ b/sysdeps/ieee754/ldbl-128/s_tanhl.c @@ -51,7 +51,7 @@ _Float128 __tanhl (_Float128 x) { _Float128 t, z; - u_int32_t jx, ix; + uint32_t jx, ix; ieee854_long_double_shape_type u; /* Words of |x|. */ diff --git a/sysdeps/ieee754/ldbl-128/s_truncl.c b/sysdeps/ieee754/ldbl-128/s_truncl.c index 6d1a11e..b445a28 100644 --- a/sysdeps/ieee754/ldbl-128/s_truncl.c +++ b/sysdeps/ieee754/ldbl-128/s_truncl.c @@ -27,7 +27,7 @@ _Float128 __truncl (_Float128 x) { int32_t j0; - u_int64_t i0, i1, sx; + uint64_t i0, i1, sx; GET_LDOUBLE_WORDS64 (i0, i1, x); sx = i0 & 0x8000000000000000ULL; |