Skip to content

Commit 4b0235b

Browse files
Update comment
1 parent 7aa931f commit 4b0235b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FindAFactor/_find_a_factor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,9 +772,9 @@ struct Factorizer {
772772
const BigInteger maxLcv = toFactorSqrt + high;
773773
for (BigInteger y = toFactorSqrt + 1U + low; isIncomplete && (y < maxLcv); ++y) {
774774
// Make the candidate NOT a multiple on the wheels.
775-
// Overall, this actually just goes ahead and FORCES
776-
// the number into a "close-by" smooth number.
777775
const BigInteger z = forwardFn(backwardFn(y));
776+
// This actually just goes ahead and FORCES
777+
// the number into a "close-by" smooth perfect square.
778778
const BigInteger candidate = makeSmooth(z * z);
779779
// We want two numbers multiplied together to be larger than toFactor.
780780
if (candidate < toFactorSqrt) {

0 commit comments

Comments
 (0)