mirror of https://github.com/libsdl-org/SDL
libm: Fixed signature mismatches for __ieee754_rem_pio2 and __kernel_rem_pio2.
Fixes Bugzilla #4201.
This commit is contained in:
parent
862aa4b47d
commit
1089944bee
|
@ -147,7 +147,7 @@ one = 1.0,
|
|||
two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
|
||||
twon24 = 5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
|
||||
|
||||
int attribute_hidden __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
|
||||
int32_t attribute_hidden __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
|
||||
{
|
||||
int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
|
||||
double z,fw,f[20],fq[20],q[20];
|
||||
|
|
|
@ -206,7 +206,7 @@ __ieee754_sqrt(double)
|
|||
extern double __ieee754_jn(int, double) attribute_hidden;
|
||||
extern double __ieee754_yn(int, double) attribute_hidden;
|
||||
extern double __ieee754_remainder(double, double) attribute_hidden;
|
||||
extern int __ieee754_rem_pio2(double, double *) attribute_hidden;
|
||||
extern int32_t __ieee754_rem_pio2(double, double *) attribute_hidden;
|
||||
#if defined(_SCALB_INT)
|
||||
extern double __ieee754_scalb(double, int) attribute_hidden;
|
||||
#else
|
||||
|
@ -220,7 +220,7 @@ __ieee754_sqrt(double)
|
|||
extern double __kernel_sin(double, double, int) attribute_hidden;
|
||||
extern double __kernel_cos(double, double) attribute_hidden;
|
||||
extern double __kernel_tan(double, double, int) attribute_hidden;
|
||||
extern int __kernel_rem_pio2(double *, double *, int, int, int,
|
||||
const int *) attribute_hidden;
|
||||
extern int32_t __kernel_rem_pio2(double *, double *, int, int, int,
|
||||
const int32_t *) attribute_hidden;
|
||||
|
||||
#endif /* _MATH_PRIVATE_H_ */
|
||||
|
|
Loading…
Reference in New Issue