Expand description
Module for factorizing integers
Modules§
- candidates
- Implementations of Prime wheels for number factorization https://en.wikipedia.org/wiki/Wheel_factorization
Structs§
Functions§
- primefactor_
gcd - Calculate the Greatest common divisor (GCD) between 2 unsigned integers
- u128_
gcd - Calculate the Greatest common divisor (GCD) between 2 unsigned integers. Based on Euclid’s algorithm pseudo code at: https://en.wikipedia.org/wiki/Euclidean_algorithm
- u128_
is_ prime - Test if the value is a prime number, or not
- u128_
lcm - Calculate the Least common multiple (LCM) for 2 integers