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.25-162-g1061433


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  10614335d1237704a5496758185ad7eb4bd65287 (commit)
      from  f264cca59380bca8f372bd09a8da7c9e1bbbf493 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=10614335d1237704a5496758185ad7eb4bd65287

commit 10614335d1237704a5496758185ad7eb4bd65287
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Tue Mar 28 14:48:57 2017 -0300

    Change return type in the declaration of __ieee754_rem_pio2l
    
    The implementation of __ieee754_rem_pio2l in ldbl-128, ldbl-128ibm,
    and ldbl-96 return the type int32_t, whereas math_private.h declares
    it as returning int.  This patch changes the declaration to match the
    declaration in thoses directories, as well as it changes the stub
    implementation in math/e_rem_pio2l.c, similarly.
    
    	* math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
    	to int32_t.
    	* sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
    	as returning int32_t.

diff --git a/ChangeLog b/ChangeLog
index eaf7bb1..a4056e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
+	* math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
+	to int32_t.
+	* sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
+	as returning int32_t.
+
+2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
 	* math/math.h: Include bits/math-finite.h once per
 	floating-point type.
 	* math/bits/math-finite.h: Macroize all declarations by
diff --git a/math/e_rem_pio2l.c b/math/e_rem_pio2l.c
index 03ac2ef..2ea873b 100644
--- a/math/e_rem_pio2l.c
+++ b/math/e_rem_pio2l.c
@@ -3,7 +3,7 @@
 #include <errno.h>
 #include <math_private.h>
 
-int
+int32_t
 __ieee754_rem_pio2l (long double x, long double *y)
 {
   fputs ("__ieee754_rem_pio2l not implemented\n", stderr);
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index be65b94..1103fa2 100644
--- a/sysdeps/generic/math_private.h
+++ b/sysdeps/generic/math_private.h
@@ -307,7 +307,7 @@ extern long double __ieee754_y1l (long double);
 extern long double __ieee754_jnl (int,long double);
 extern long double __ieee754_ynl (int,long double);
 extern long double __ieee754_remainderl (long double,long double);
-extern int   __ieee754_rem_pio2l (long double,long double*);
+extern int32_t __ieee754_rem_pio2l (long double,long double*);
 extern long double __ieee754_scalbl (long double,long double);
 extern int   __ieee754_ilogbl (long double);
 

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

Summary of changes:
 ChangeLog                      |    7 +++++++
 math/e_rem_pio2l.c             |    2 +-
 sysdeps/generic/math_private.h |    2 +-
 3 files changed, 9 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]