FindAFactor 3.6.2__tar.gz → 3.6.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor/_find_a_factor.cpp +6 -1
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor.egg-info/PKG-INFO +1 -1
- {findafactor-3.6.2 → findafactor-3.6.3}/PKG-INFO +1 -1
- {findafactor-3.6.2 → findafactor-3.6.3}/setup.py +1 -1
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor/__init__.py +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor/dispatchqueue.cpp +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor/find_a_factor.py +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor/oclengine.cpp +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor.egg-info/SOURCES.txt +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor.egg-info/dependency_links.txt +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor.egg-info/requires.txt +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/FindAFactor.egg-info/top_level.txt +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/LICENSE +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/README.md +0 -0
- {findafactor-3.6.2 → findafactor-3.6.3}/setup.cfg +0 -0
@@ -837,8 +837,13 @@ struct Factorizer {
|
|
837
837
|
}
|
838
838
|
num /= factor;
|
839
839
|
for (size_t pi = 0U; pi < primes.size(); ++pi) {
|
840
|
-
|
840
|
+
const BigInteger& p = primes[pi];
|
841
|
+
if (!(factor % p)) {
|
842
|
+
factor /= p;
|
841
843
|
vec[pi] = !vec[pi];
|
844
|
+
if (factor == 1U) {
|
845
|
+
break;
|
846
|
+
}
|
842
847
|
}
|
843
848
|
}
|
844
849
|
if (num == 1U) {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|