This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.16-ports-merge-19-g0abaf3e


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2 (commit)
      from  261f485936b283f4327fc1f2fc8fd1705d805c12 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2

commit 0abaf3e48af6037fff9ed7cbfbc2a68b99096eb2
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Fri Jul 6 23:56:57 2012 +0200

    Fix float range reduction problems (#14283)

diff --git a/ChangeLog b/ChangeLog
index 06226b9..8e6f013 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
 
+	[BZ #14283]
+	* sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
+	by 7 not 8 to examine high bit of fractional part.
+
 	[BZ #14042]
 	* sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
 	for call to __mcount_internal.
diff --git a/sysdeps/powerpc/fpu/k_rem_pio2f.c b/sysdeps/powerpc/fpu/k_rem_pio2f.c
index 2060642..c388f25 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;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                         |    4 ++++
 sysdeps/powerpc/fpu/k_rem_pio2f.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]