Browse Source

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.
pull/2196/merge
Damien George 8 years ago
parent
commit
873853f1a8
  1. 3
      lib/libm/kf_rem_pio2.c

3
lib/libm/kf_rem_pio2.c

@ -86,7 +86,8 @@ twon8 = 3.9062500000e-03; /* 0x3b800000 */
/* compute q[0],q[1],...q[jk] */ /* compute q[0],q[1],...q[jk] */
for (i=0;i<=jk;i++) { 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; jz = jk;

Loading…
Cancel
Save