Skip to main content

bisect

Function bisect 

Source
pub fn bisect<F>(
    f: F,
    a: &ExactNum,
    b: &ExactNum,
    tol: &ExactNum,
    p: usize,
    rm: RoundingMode,
    cc: &mut Consts,
) -> Option<ExactNum>
Expand description

Bisection on [a, b]. None if f(a) and f(b) do not have opposite signs.