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.17-440-g6b18bea


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  6b18bea6256e1eefebd27811873831d0e3f171de (commit)
      from  63270c24c520c53193b2fd07104ad30039914058 (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=6b18bea6256e1eefebd27811873831d0e3f171de

commit 6b18bea6256e1eefebd27811873831d0e3f171de
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Mar 19 22:38:25 2013 +0000

    Fix types of constants in k_casinh*.c.

diff --git a/ChangeLog b/ChangeLog
index 3bbcf36..d719501 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-03-19  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/k_casinhf.c (__kernel_casinhf): Consistently use float
+	constants.
+	* math/k_casinhl.c (__kernel_casinhl): Consistently use long
+	double constants.
+
 2013-03-19  Andreas Schwab  <schwab@suse.de>
 
 	* sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
diff --git a/math/k_casinhf.c b/math/k_casinhf.c
index 3152ea2..7ff4b03 100644
--- a/math/k_casinhf.c
+++ b/math/k_casinhf.c
@@ -79,8 +79,8 @@ __kernel_casinhf (__complex__ float x, int adj)
     }
   else
     {
-      __real__ y = (rx - ix) * (rx + ix) + 1.0;
-      __imag__ y = 2.0 * rx * ix;
+      __real__ y = (rx - ix) * (rx + ix) + 1.0f;
+      __imag__ y = 2.0f * rx * ix;
 
       y = __csqrtf (y);
 
diff --git a/math/k_casinhl.c b/math/k_casinhl.c
index 110ae33..aec501b 100644
--- a/math/k_casinhl.c
+++ b/math/k_casinhl.c
@@ -86,8 +86,8 @@ __kernel_casinhl (__complex__ long double x, int adj)
     }
   else
     {
-      __real__ y = (rx - ix) * (rx + ix) + 1.0;
-      __imag__ y = 2.0 * rx * ix;
+      __real__ y = (rx - ix) * (rx + ix) + 1.0L;
+      __imag__ y = 2.0L * rx * ix;
 
       y = __csqrtl (y);
 

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

Summary of changes:
 ChangeLog        |    7 +++++++
 math/k_casinhf.c |    4 ++--
 math/k_casinhl.c |    4 ++--
 3 files changed, 11 insertions(+), 4 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]