mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
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.
This commit is contained in:
parent
f264cca593
commit
10614335d1
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user