Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/src Correct misleading indentation. NFC



details:   https://anonhg.NetBSD.org/src/rev/7e805624e45a
branches:  trunk
changeset: 824885:7e805624e45a
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Jun 22 12:43:43 2017 +0000

description:
Correct misleading indentation. NFC

>From GCC8

diffstat:

 lib/libm/src/k_rem_pio2.c  |  6 ++++--
 lib/libm/src/k_rem_pio2f.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r bfa8f08d8ac7 -r 7e805624e45a lib/libm/src/k_rem_pio2.c
--- a/lib/libm/src/k_rem_pio2.c Thu Jun 22 10:06:33 2017 +0000
+++ b/lib/libm/src/k_rem_pio2.c Thu Jun 22 12:43:43 2017 +0000
@@ -12,7 +12,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: k_rem_pio2.c,v 1.12 2010/04/23 19:17:07 drochner Exp $");
+__RCSID("$NetBSD: k_rem_pio2.c,v 1.13 2017/06/22 12:43:43 maya Exp $");
 #endif
 
 /*
@@ -175,7 +175,9 @@
 
     /* 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;
diff -r bfa8f08d8ac7 -r 7e805624e45a lib/libm/src/k_rem_pio2f.c
--- a/lib/libm/src/k_rem_pio2f.c        Thu Jun 22 10:06:33 2017 +0000
+++ b/lib/libm/src/k_rem_pio2f.c        Thu Jun 22 12:43:43 2017 +0000
@@ -15,7 +15,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: k_rem_pio2f.c,v 1.8 2010/04/23 19:17:07 drochner Exp $");
+__RCSID("$NetBSD: k_rem_pio2f.c,v 1.9 2017/06/22 12:43:43 maya Exp $");
 #endif
 
 #include "namespace.h"
@@ -68,7 +68,9 @@
 
     /* 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;



Home | Main Index | Thread Index | Old Index