Correct handling of arguments with exponent >31 and < 63.

This commit is contained in:
Ulrich Drepper 2000-01-20 08:01:40 +00:00
parent ecc1a7dbdb
commit 9d1b7e13b5

View File

@ -71,7 +71,7 @@ static long double one = 1.0;
SET_LDOUBLE_WORDS(x,se&0x8000,0,0); /* return +-0 */
return x;
} else { /* fraction part in low x */
i = ((u_int32_t)(0xffffffff))>>(j0-32);
i = ((u_int32_t)(0x7fffffff))>>(j0-32);
if((i1&i)==0) { /* x is integral */
*iptr = x;
INSERT_WORDS(x,se&0x8000,0); /* return +-0 */