Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Gmp.mpz()->next_prime()


Method next_prime

Gmp.mpz next_prime(void|int count, void|int limit)