#prime #numbers #check #quickly

isprime

Quickly check if a number is prime

2 releases

0.1.1 Feb 9, 2022
0.1.0 Feb 9, 2022

#1818 in Math

MIT/Apache

2KB

isprime

Quickly check if a number is prime

Crates.io

Usage

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

No runtime deps