]> git.cameronkatri.com Git - bsdgames-darwin.git/commit
Fix a logic botch where if a number smaller than the square of the seive
authorsimonb <simonb@NetBSD.org>
Mon, 17 Jun 2002 15:43:52 +0000 (15:43 +0000)
committersimonb <simonb@NetBSD.org>
Mon, 17 Jun 2002 15:43:52 +0000 (15:43 +0000)
commitdfd64333a540005b49aabea0e1a777b1ac1c643c
tree00f74a16a5ffef6f9c0ab2676fa7069b15d88fb0
parentac3d51498dea72f42e103a8e8877edf154c60b8f
Fix a logic botch where if a number smaller than the square of the seive
was prime to still called the Pollard Rho function when it didn't have
to.  Problem report by Nathan Williams.

Unfortunately this one can't be picked up by a simple regression test
since the broken way still produced the correct output, but just took
far longer...
factor/factor.c