GMP function to generate prime number bigger than X

Torbjörn Granlund tg at gmplib.org
Wed Jan 26 13:58:31 CET 2022


Hans Petter Selasky <hps at selasky.org> writes:

  I didn't find any functions to quickly generate a prime number bigger
  than X in GMP, so I made my own for now.

What about mpz_nextprime?

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list