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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
Mpzprp works great.