[][src]Crate prime_tools

prime_tools

prime_tools is a collection of utilities to make working with prime numbers a bit easier.

Functions

get_prime_factors_with_counts

Creates a map of prime factors -> prime factor counts.

get_primes_less_than_x

Generates an ordered list of prime numbers less than x.

is_u32_prime

Figures out if a u32 is prime.

is_u64_prime

Figures out if a u64 is prime.