summaryrefslogtreecommitdiff
path: root/src/math/kf_rem_pio2.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-12-11 21:39:38 -0700
committerBdale Garbee <bdale@gag.com>2017-12-11 21:39:38 -0700
commit8e0b575ad1dfd5a49136d3fe945d27f6afda1178 (patch)
tree74657870764e6a3792bdd7e90acd725353c20904 /src/math/kf_rem_pio2.c
parent132b92a95bdebabf573a680301bfb1e93eaa6721 (diff)
parentfe38c22595b050435dbacd35f1baae064fb7de75 (diff)
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/math/kf_rem_pio2.c')
-rw-r--r--src/math/kf_rem_pio2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/kf_rem_pio2.c b/src/math/kf_rem_pio2.c
index 261c4812..1573ca9f 100644
--- a/src/math/kf_rem_pio2.c
+++ b/src/math/kf_rem_pio2.c
@@ -77,7 +77,8 @@ twon8 = 3.9062500000e-03; /* 0x3b800000 */
/* 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;