Message ID | 20170720083107.GE2123@tucnak |
---|---|
State | New |
Headers | show |
--- libquadmath/math/roundq.c.jj 2017-04-20 12:16:38.000000000 +0200 +++ libquadmath/math/roundq.c 2017-07-20 10:26:15.290890331 +0200 @@ -1,5 +1,5 @@ /* Round __float128 to integer away from zero. - Copyright (C) 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1997-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and Jakub Jelinek <jj@ultra.linux.cz>, 1999. @@ -32,7 +32,7 @@ roundq (__float128 x) GET_FLT128_WORDS64 (i0, i1, x); j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; - if (j0 < 31) + if (j0 < 48) { if (j0 < 0) {