summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libm/k_rem_pio2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libm/k_rem_pio2.c b/libm/k_rem_pio2.c
index 17ea9386c..3d61339b9 100644
--- a/libm/k_rem_pio2.c
+++ b/libm/k_rem_pio2.c
@@ -167,7 +167,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int3
/* compute q[0],q[1],...q[jk] */
for (i=0;i<=jk;i++) {
- for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
+ for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
+ q[i] = fw;
}
jz = jk;