Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Gmp.mpz()->next_prime()


Method next_prime

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