Module int_factor

Module int_factor 

Source
Expand description

Contains an implementation of integer factoring and related utilities, delegating to ec_factor.

Functionsยง

factor
Factors the given integer.
is_prime_power
If the given integer is a power of a prime p, returns Some((p, ln(n)/ln(p))).