summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--math/e_rem_pio2l.c2
-rw-r--r--sysdeps/generic/math_private.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eaf7bb1b98..a4056e144c 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 03ac2efbc3..2ea873bbab 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 be65b9487b..1103fa2975 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);