diff options
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/e_fmodl.c | 2 | ||||
-rw-r--r-- | lib/msun/src/s_remquol.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/e_fmodl.c b/lib/msun/src/e_fmodl.c index c983000..e315f76 100644 --- a/lib/msun/src/e_fmodl.c +++ b/lib/msun/src/e_fmodl.c @@ -132,7 +132,7 @@ fmodl(long double x, long double y) /* convert back to floating value and restore the sign */ if((hx|lx)==0) /* return sign(x)*0 */ return Zero[sx]; - while(hx<(1U<<HFRAC_BITS)) { /* normalize x */ + while(hx<(1ULL<<HFRAC_BITS)) { /* normalize x */ hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx; iy -= 1; } diff --git a/lib/msun/src/s_remquol.c b/lib/msun/src/s_remquol.c index 9f20ee0..9f5b578 100644 --- a/lib/msun/src/s_remquol.c +++ b/lib/msun/src/s_remquol.c @@ -141,7 +141,7 @@ remquol(long double x, long double y, int *quo) *quo = (sxy ? -q : q); return Zero[sx]; } - while(hx<(1U<<HFRAC_BITS)) { /* normalize x */ + while(hx<(1ULL<<HFRAC_BITS)) { /* normalize x */ hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx; iy -= 1; } |