Function num_bigint_dig::prime::next_prime
source · pub fn next_prime(n: &BigUint) -> BigUint
Expand description
Calculate the next larger prime, given a starting number n
.
pub fn next_prime(n: &BigUint) -> BigUint
Calculate the next larger prime, given a starting number n
.