Function num_integer::roots::fixpoint

source ยท
fn fixpoint<T, F>(x: T, f: F) -> T
where T: Integer + Copy, F: Fn(T) -> T,