diff options
Diffstat (limited to 'sysdeps/libm-ieee754/s_trunc.c')
-rw-r--r-- | sysdeps/libm-ieee754/s_trunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/libm-ieee754/s_trunc.c b/sysdeps/libm-ieee754/s_trunc.c index 721dce5a55..07b4951bcb 100644 --- a/sysdeps/libm-ieee754/s_trunc.c +++ b/sysdeps/libm-ieee754/s_trunc.c @@ -1,5 +1,5 @@ /* Truncate argument to nearest integral value not larger than the argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -39,7 +39,7 @@ __trunc (double x) /* The magnitude of the number is < 1 so the result is +-0. */ INSERT_WORDS (x, sx, 0); else - INSERT_WORDS (x, sx | i0 & ~(0x000fffff >> j0), 0); + INSERT_WORDS (x, sx | (i0 & ~(0x000fffff >> j0)), 0); } else if (j0 > 51) { |