← Commit list

107159ef1

Denys Vlasenko
Denys Vlasenko
2017-04-13
SUCCESS Duration: 141s

Subject

factor: improve comments for sieving logic... also fix a typo

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/factor.c+2 -2
@@ -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 (;;) {