From 530e2f60225649e7a7f49982e9bcbd072939969b Mon Sep 17 00:00:00 2001 From: Sam Cappleman-Lynes Date: Wed, 28 Jun 2017 16:26:40 +0100 Subject: [PATCH] Fix typo in comment in division algorithm --- bigint/src/algorithms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigint/src/algorithms.rs b/bigint/src/algorithms.rs index 3c1ac9f..604fee2 100644 --- a/bigint/src/algorithms.rs +++ b/bigint/src/algorithms.rs @@ -433,7 +433,7 @@ pub fn div_rem(u: &BigUint, d: &BigUint) -> (BigUint, BigUint) { // q0, our guess, is calculated by dividing the last few digits of a by the last digit of b // - this should give us a guess that is "close" to the actual quotient, but is possibly // greater than the actual quotient. If q0 * b > a, we simply use iterated subtraction - // until we have a guess such that q0 & b <= a. + // until we have a guess such that q0 * b <= a. // let bn = *b.data.last().unwrap();