[git commit] factor: improve comments for sieving logic... also fix a typo

Denys Vlasenko vda.linux at googlemail.com
Thu Apr 13 11:38:16 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=107159ef1cf222759622abd267e158a85ea7d855
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/factor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coreutils/factor.c b/coreutils/factor.c
index 5e23c6c..2817534 100644
--- a/coreutils/factor.c
+++ b/coreutils/factor.c
@@ -107,8 +107,8 @@ static NOINLINE void factorize(wide_t N)
 		+ (MULTIPLE_OF_5 - 6 * SHIFT_5)
 		+ (MULTIPLE_OF_7 - 9 * SHIFT_7)
 		//+ (MULTIPLE_OF_11 - 15 * SHIFT_11)
-		//+ (MULTIPLE_OF_11 - 18 * SHIFT_13)
-		//+ (MULTIPLE_OF_11 - 24 * SHIFT_17)
+		//+ (MULTIPLE_OF_13 - 18 * SHIFT_13)
+		//+ (MULTIPLE_OF_17 - 24 * SHIFT_17)
 	;
 	factor = 3;
 	for (;;) {


More information about the busybox-cvs mailing list