primeutils

Crates.ioprimeutils
lib.rsprimeutils
version0.1.0
created_at2025-07-31 21:57:57.493682+00
updated_at2025-07-31 21:57:57.493682+00
descriptionA collection of tools for working with prime numbers.
homepage
repositoryhttps://github.com/Vidi0/primeutils
max_upload_size
id1775802
size66,635
Vidi (Vidi0)

documentation

README

Primeutils are a collection of tools for working with prime numbers. The tools included are:

  • Counting prime numbers below a limit or between two numbers
  • Checking if a number is a prime number
  • Split a number into its prime factors
  • Finding the lowest common multiple of two numbers
  • Finding the greatest common divisor of two numbers

License

This project is licensed under the GPL-3.0-or-later license.

This project uses the following Rust crates licensed under the MIT license:

  • num_cpus — used to determine the optimal number of threads for the sieve
  • raw-cpuid — used to determine the size of the L1 cache of the processor for the sieve

Also, the dependencies of the crates are licensed under the MIT license, too:

Commit count: 0

cargo fmt