diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-06 23:56:57 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-06 23:57:20 +0200 |
commit | 0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2 (patch) | |
tree | 36dee156ee5b2a7776010b9c0a50ac4aedd8e624 /sysdeps/powerpc/fpu | |
parent | 261f485936b283f4327fc1f2fc8fd1705d805c12 (diff) | |
download | glibc-0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2.tar glibc-0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2.tar.gz glibc-0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2.tar.bz2 glibc-0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2.zip |
Fix float range reduction problems (#14283)
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r-- | sysdeps/powerpc/fpu/k_rem_pio2f.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/k_rem_pio2f.c b/sysdeps/powerpc/fpu/k_rem_pio2f.c index 2060642743..c388f25b05 100644 --- a/sysdeps/powerpc/fpu/k_rem_pio2f.c +++ b/sysdeps/powerpc/fpu/k_rem_pio2f.c @@ -1,5 +1,5 @@ /* k_rem_pio2f.c -- float version of e_rem_pio2.c - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Adhemerval Zanella <azanella@br.ibm.com>, 2011 @@ -153,7 +153,7 @@ recompute: ih = iq[jz - 1] >> (7 - q0); } else if (q0 == 0) - ih = iq[jz - 1] >> 8; + ih = iq[jz - 1] >> 7; else if (z >= 0.5) ih = 2; |