summaryrefslogtreecommitdiff
path: root/tests/mkdir/p-1.sh
diff options
context:
space:
mode:
authorTorbjörn Granlund <tg@gmplib.org>2016-12-08 10:07:29 +0000
committerPádraig Brady <P@draigBrady.com>2016-12-08 10:10:38 +0000
commitca52f3bf3f48a1a296e70bff5fd77ff789c570f5 (patch)
tree55811fbc475f8b7b2909c785395734eb46118e47 /tests/mkdir/p-1.sh
parentc44da115063bfea7ef8b2afd1c9d52737e2b7f70 (diff)
downloadcoreutils-ca52f3bf3f48a1a296e70bff5fd77ff789c570f5.tar.xz
factor: retry properly if Pollard rho gives a trivial factorization
* src/factor.c (factor_using_pollard_rho): Handle trivial factor g = n. (factor_using_pollard_rho2): Handle trivial factor g1 = n1, g0 = n0. * tests/misc/factor.pl: Add a test case. Fixes http://bugs.gnu.org/25135
Diffstat (limited to 'tests/mkdir/p-1.sh')
0 files changed, 0 insertions, 0 deletions