Skip to main content

ziv_round_vec

Function ziv_round_vec 

Source
pub fn ziv_round_vec<F>(
    p: usize,
    rm: RoundingMode,
    inputs: &[ExactNum],
    compute: F,
) -> ExactNum
where F: FnMut(usize, &[ExactNum]) -> ExactNum,
Expand description

Same Ziv loop as ziv_round, with every input lifted to p_wrk before compute.

MAX_PREC_RETRY still bounds the number of bumps via [bump_prec_retry].