diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-13 13:38:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-13 13:38:16 +0200 |
commit | 107159ef1cf222759622abd267e158a85ea7d855 (patch) | |
tree | 649bcef9d283d3c44d983416c18a01ee4d9d5b14 /coreutils | |
parent | 933dcf1c8a801b31d6e2415e7681f37ad3f03eaf (diff) | |
download | busybox-107159ef1cf222759622abd267e158a85ea7d855.tar.gz |
factor: improve comments for sieving logic... also fix a typo
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/factor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 (;;) { |