Function num_rational::approximate_float_unsigned

source ยท
pub(crate) fn approximate_float_unsigned<T, F>(
    val: F,
    max_error: F,
    max_iterations: usize,
) -> Option<Ratio<T>>