get_factor

Function get_factor 

Source
#[unsafe(no_mangle)]
pub const extern "C" fn get_factor(n: u64) -> u64
Expand description

Returns some prime factor of an 64-bit integer

This function uses the Pollard-rho algorithm and mostly exists for FFI