mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
10614335d1
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.
15 lines
278 B
C
15 lines
278 B
C
#include <math.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <math_private.h>
|
|
|
|
int32_t
|
|
__ieee754_rem_pio2l (long double x, long double *y)
|
|
{
|
|
fputs ("__ieee754_rem_pio2l not implemented\n", stderr);
|
|
__set_errno (ENOSYS);
|
|
return 0;
|
|
}
|
|
|
|
stub_warning (__ieee754_rem_pio2l)
|