mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-26 04:58:29 +00:00
Readability: change some pointer parameter to be pointer to const
This commit is contained in:
@@ -149,7 +149,7 @@ one = 1.0,
|
||||
two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
|
||||
twon24 = 5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
|
||||
|
||||
int32_t attribute_hidden __kernel_rem_pio2(double *x, double *y, int e0, int nx, const unsigned int prec, const int32_t *ipio2)
|
||||
int32_t attribute_hidden __kernel_rem_pio2(const double *x, double *y, int e0, int nx, const unsigned 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];
|
||||
|
@@ -221,7 +221,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 int32_t __kernel_rem_pio2(double *, double *, int, int, const unsigned int,
|
||||
extern int32_t __kernel_rem_pio2(const double *, double *, int, int, const unsigned int,
|
||||
const int32_t *) attribute_hidden;
|
||||
|
||||
#endif /* _MATH_PRIVATE_H_ */
|
||||
|
Reference in New Issue
Block a user