aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/factor.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add LibraryInitializers to the examples, instead of relying on lazy init.lloyd2009-03-171-0/+2
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-3/+2
* Update examples for recent API changeslloyd2008-10-081-1/+1
* Fix the DSA examples. Reindent.lloyd2008-06-281-1/+2
* Update some of the examples for the recent API changeslloyd2008-06-271-8/+11
* Avoid using the global RNG in check_key, instead pass a reference.lloyd2008-05-241-2/+3
* If the LibraryInitializer is created with just default arguments, don'tlloyd2007-10-071-2/+0
* Don't bail out of the rho computation until 2^32 tries, since thelloyd2006-07-161-3/+3
* Have to (potentially) factor the result from the Rho computation, as itlloyd2006-07-161-4/+7
* Move the declaration of a_factor outside the loop, and use a do looplloyd2006-07-161-4/+5
* Remove some completely redundant code in factorize()lloyd2006-07-161-6/+1
* Break out after 2^16 tries, so we restart from a different random pointlloyd2006-07-161-4/+8
* Make factorize() iterative instead of recursive lloyd2006-07-161-22/+50
* Remove whitespace, add a slightly informative comment, etclloyd2006-07-161-2/+2
* Remove a debugging print statementlloyd2006-07-161-4/+3
* Add an example that performs factoring (using Pollard's Rho algorithm)lloyd2006-07-161-0/+110