bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] * lib/vasnprintf.c (divide): Fix typo in comment.


From: Jim Meyering
Subject: [PATCH] * lib/vasnprintf.c (divide): Fix typo in comment.
Date: Sun, 22 Mar 2009 09:38:23 +0100

I'll push this tomorrow, too.

>From ca220adae7e4b5138cd9b567e739a418d25c7eac Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 22 Mar 2009 09:36:41 +0100
Subject: [PATCH] * lib/vasnprintf.c (divide): Fix typo in comment.

---
 lib/vasnprintf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index fa43ca6..ce4e44b 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -413,7 +413,7 @@ divide (mpn_t a, mpn_t b, mpn_t *q)
        Normalise [q[m-1],...,q[0]], yields q.
      If m>=n>1, perform a multiple-precision division:
        We have a/b < beta^(m-n+1).
-       s:=intDsize-1-(hightest bit in b[n-1]), 0<=s<intDsize.
+       s:=intDsize-1-(highest bit in b[n-1]), 0<=s<intDsize.
        Shift a and b left by s bits, copying them. r:=a.
        r=[r[m],...,r[0]], b=[b[n-1],...,b[0]] with b[n-1]>=beta/2.
        For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).}
--
1.6.2.rc1.285.gc5f54




reply via email to

[Prev in Thread] Current Thread [Next in Thread]