Function convergence

Source
pub fn convergence(x: &mut f64, x_new: f64) -> bool
Expand description

Compares if two floats are close via approx::relative_eq! and ACC relative precision. Updates first argument to value of second argument.