Crate glennib_thelib

Source
Expand description

Contains functionality for working with numbers.

Functionsยง

is_prime
Returns true if the given number is prime, false otherwise.
next_prime
Returns the next prime number after the given number.
not_prime
Returns false if the given number is prime, true otherwise.
succ
Returns the successor of the given number.