isprime

Quickly check if a number is prime

Crates.io

Usage

isprime(n) returns true if n is prime, and false otherwise.