This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.12-214-gda93d21
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Nov 2010 21:15:44 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.12-214-gda93d21
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 da93d21475878725c9e0cb2b6e650bd8d3628435 (commit)
from 8ca52c6e3b2dc44a46c32d6a8e6a7f608915998f (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=da93d21475878725c9e0cb2b6e650bd8d3628435
commit da93d21475878725c9e0cb2b6e650bd8d3628435
Author: Luis Machado <luisgpm@br.ibm.com>
Date: Wed Nov 10 16:15:05 2010 -0500
Fix comparison in sqrtl for IBM long double 128.
diff --git a/ChangeLog b/ChangeLog
index 89f622b..6963755 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-10 Luis Machado <luisgpm@br.ibm.com>
+
+ * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
+ signed comparison.
+
2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
[BZ #12205]
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c b/sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c
index 1f533ca..fe6bb55 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c
@@ -73,9 +73,9 @@ long double __ieee754_sqrtl(long double x)
m = ((a.i[2] >> 20) & 0x7ff) - 54;
}
m += n;
- if (m > 0)
+ if ((int) m > 0)
a.i[2] = (a.i[2] & 0x800fffff) | (m << 20);
- else if (m <= -54) {
+ else if ((int) m <= -54) {
a.i[2] &= 0x80000000;
a.i[3] = 0;
} else {
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources