diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/s_nextafter.c | 2 | ||||
-rw-r--r-- | math/s_nexttowardf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/math/s_nextafter.c b/math/s_nextafter.c index dfa5e860c4..72419cbe9a 100644 --- a/math/s_nextafter.c +++ b/math/s_nextafter.c @@ -33,7 +33,7 @@ static char rcsid[] = "$NetBSD: s_nextafter.c,v 1.8 1995/05/10 20:47:58 jtc Exp 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); diff --git a/math/s_nexttowardf.c b/math/s_nexttowardf.c index 30cd81b454..85d02e863a 100644 --- a/math/s_nexttowardf.c +++ b/math/s_nexttowardf.c @@ -28,7 +28,7 @@ float __nexttowardf(float x, long double y) { int32_t hx,hy,ix,iy; - u_int32_t ly; + uint32_t ly; GET_FLOAT_WORD(hx,x); EXTRACT_WORDS(hy,ly,y); @@ -41,7 +41,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&0x80000000)|1);/* return +-minsub*/ + SET_FLOAT_WORD(x,(uint32_t)(hy&0x80000000)|1);/* return +-minsub*/ u = math_opt_barrier (x); u = u * u; math_force_eval (u); /* raise underflow flag */ |