This code is an implementation of several prp (pseudoprime) tests in C and GMP. The provided C file includes a main routine that will run all tests on a list of 25 numbers, starting with the one provided as input.
Updated 2013/07/03 to fix some minor issues with the mpz_extrastronglucas_prp function.
License
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow mpz_prp
Other Useful Business Software
Stop vibe-debugging.
AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Rate This Project
Login To Rate This Project
User Reviews
-
Mpzprp works great.