Skip to content

Commit 9c5040c

Browse files
Helpful comments
1 parent 0aa26c7 commit 9c5040c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FindAFactor/_find_a_factor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ std::vector<size_t> SieveOfEratosthenes(const size_t &n) {
585585
bool *notPrime = uNotPrime.get();
586586

587587
// Get the remaining prime numbers.
588+
// These wheel initializations are simply correct and optimal.
589+
// The integral form is rather a distinguishable bit set form.
588590
unsigned short wheel5 = 129U;
589591
unsigned long long wheel7 = 9009416540524545ULL;
590592
size_t o = 1U;

0 commit comments

Comments
 (0)