Function get_factor

Source
#[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