diff options
author | Jack Lloyd <[email protected]> | 2018-01-17 11:19:41 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-17 11:19:41 -0500 |
commit | 6128a254fa42da8362b4eb9c626d193be68cfaea (patch) | |
tree | 467780964e5747b96159cecd0081984aa471248a /src/lib/math/numbertheory/mp_numth.cpp | |
parent | 120c9302ab9773f3429ea6cf0e732a2ec805fcd5 (diff) |
First update the sieve, then check for a match
This allows shortcutting the checks
Use (p-1)/2 instead p/2, same result because p is odd but confusing.
Diffstat (limited to 'src/lib/math/numbertheory/mp_numth.cpp')
0 files changed, 0 insertions, 0 deletions