Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/fpe Fix typo in comment. pointed out by Y.Sug...



details:   https://anonhg.NetBSD.org/src/rev/1ed82a1da4b7
branches:  trunk
changeset: 335983:1ed82a1da4b7
user:      isaki <isaki%NetBSD.org@localhost>
date:      Thu Feb 05 12:22:06 2015 +0000

description:
Fix typo in comment.  pointed out by Y.Sugahara.

diffstat:

 sys/arch/m68k/fpe/fpu_rem.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7ba1431362c6 -r 1ed82a1da4b7 sys/arch/m68k/fpe/fpu_rem.c
--- a/sys/arch/m68k/fpe/fpu_rem.c       Thu Feb 05 11:37:47 2015 +0000
+++ b/sys/arch/m68k/fpe/fpu_rem.c       Thu Feb 05 12:22:06 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_rem.c,v 1.16 2013/05/11 12:52:42 isaki Exp $       */
+/*     $NetBSD: fpu_rem.c,v 1.17 2015/02/05 12:22:06 isaki Exp $       */
 
 /*
  * Copyright (c) 1995  Ken Nakata
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_rem.c,v 1.16 2013/05/11 12:52:42 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_rem.c,v 1.17 2015/02/05 12:22:06 isaki Exp $");
 
 #include <sys/types.h>
 #include <sys/signal.h>
@@ -56,7 +56,7 @@
  *                endif
  *
  *       Step 3.  Perform MOD(X,Y)
- *            3.1 If R = Y, then { Q := Q + 1, R := 0, go to Step 8. }
+ *            3.1 If R = Y, then { Q := Q + 1, R := 0, go to Step 7. }
  *            3.2 If R > Y, then { R := R - Y, Q := Q + 1}
  *            3.3 If j = 0, go to Step 4.
  *            3.4 k := k + 1, j := j - 1, Q := 2Q, R := 2R. Go to
@@ -64,7 +64,7 @@
  *
  *       Step 4.  R := signX*R.
  *
- *       Step 5.  If MOD is requested, go to Step .
+ *       Step 5.  If MOD is requested, go to Step 7.
  *
  *       Step 6.  Now, R = MOD(X,Y), convert to REM(X,Y) is requested.
  *                Do banker's rounding.



Home | Main Index | Thread Index | Old Index