aboutsummaryrefslogtreecommitdiff
path: root/lib/libm
diff options
context:
space:
mode:
authorDamien George2016-06-25 22:28:43 +0100
committerDamien George2016-06-25 22:28:43 +0100
commit873853f1a8fcc124959685daf2d210da035794c5 (patch)
tree2d9c9a821a3e564cb63d625d1386e241c34c1c73 /lib/libm
parent4b9046328dd9cc5905bc7c971eaa03248f0f0396 (diff)
lib/libm: Format code to pass gcc v6.1.1 warning.
gcc 6.1.1 warns when indentation is misleading, and in this case the formatting of the code really is misleading. So adjust the formatting to be clear of the meaning of the code.
Diffstat (limited to 'lib/libm')
-rw-r--r--lib/libm/kf_rem_pio2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libm/kf_rem_pio2.c b/lib/libm/kf_rem_pio2.c
index 48b154720..e267b65f9 100644
--- a/lib/libm/kf_rem_pio2.c
+++ b/lib/libm/kf_rem_pio2.c
@@ -86,7 +86,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;