diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-03-28 14:48:57 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-03-30 15:22:27 -0300 |
commit | 10614335d1237704a5496758185ad7eb4bd65287 (patch) | |
tree | 3c91fcef4ebe9f9f2a6c0a9c72b864325890b1a7 /sysdeps/generic | |
parent | f264cca59380bca8f372bd09a8da7c9e1bbbf493 (diff) | |
download | glibc-10614335d1237704a5496758185ad7eb4bd65287.tar.gz glibc-10614335d1237704a5496758185ad7eb4bd65287.tar.xz glibc-10614335d1237704a5496758185ad7eb4bd65287.zip |
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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/math_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |