mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Handle numbers > 1.0 correctly.
This commit is contained in:
parent
2dd41b9899
commit
c38480804b
@ -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)(0x7fffffff))>>(j0-20);
|
||||
i = ((u_int32_t)(0x7fffffff))>>(j0-32);
|
||||
if((i1&i)==0) { /* x is integral */
|
||||
*iptr = x;
|
||||
INSERT_WORDS(x,se&0x8000,0); /* return +-0 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user