diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 17:51:46 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 17:51:46 +0000 |
commit | 0b8481982efa5a2fbb83aa12204256ce07220437 (patch) | |
tree | 8cb4143d5f74c1c235f3d5ef0547bdf3f395a536 /lib/msun/src/k_rem_pio2.c | |
parent | d6fede3824f3a355c70642befd5bc0ec0d78ff1a (diff) | |
download | FreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.zip FreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.tar.gz |
Assume __STDC__, remove non-__STDC__ code.
Reviewed by: md5
Diffstat (limited to 'lib/msun/src/k_rem_pio2.c')
-rw-r--r-- | lib/msun/src/k_rem_pio2.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/msun/src/k_rem_pio2.c b/lib/msun/src/k_rem_pio2.c index 8971a84..3613c38 100644 --- a/lib/msun/src/k_rem_pio2.c +++ b/lib/msun/src/k_rem_pio2.c @@ -133,17 +133,9 @@ static char rcsid[] = "$FreeBSD$"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const int init_jk[] = {2,3,4,6}; /* initial value for jk */ -#else -static int init_jk[] = {2,3,4,6}; -#endif -#ifdef __STDC__ static const double PIo2[] = { -#else -static double PIo2[] = { -#endif 1.57079625129699707031e+00, /* 0x3FF921FB, 0x40000000 */ 7.54978941586159635335e-08, /* 0x3E74442D, 0x00000000 */ 5.39030252995776476554e-15, /* 0x3CF84698, 0x80000000 */ @@ -154,22 +146,13 @@ static double PIo2[] = { 2.16741683877804819444e-51, /* 0x3569F31D, 0x00000000 */ }; -#ifdef __STDC__ static const double -#else -static double -#endif zero = 0.0, one = 1.0, two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */ twon24 = 5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */ -#ifdef __STDC__ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2) -#else - int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2) - double x[], y[]; int e0,nx,prec; int32_t ipio2[]; -#endif { 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]; |