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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
-
Mpzprp works great.