Trait malachite_q::arithmetic::traits::ApproximateAssign
source · [−]pub trait ApproximateAssign {
fn approximate_assign(&mut self, max_denominator: &Natural);
}
Expand description
Replaces a number with the closest Rational
whose denominator does not exceed the specified
maximum.