From 107159ef1cf222759622abd267e158a85ea7d855 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 13 Apr 2017 13:38:16 +0200 Subject: factor: improve comments for sieving logic... also fix a typo Signed-off-by: Denys Vlasenko --- coreutils/factor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils') diff --git a/coreutils/factor.c b/coreutils/factor.c index 5e23c6ca7..281753439 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 (;;) { -- cgit v1.2.3