Skip to main content

calibrated_tolerance

Function calibrated_tolerance 

Source
pub fn calibrated_tolerance(
    floor: f64,
    multiplier: f64,
    reference_spread: f64,
    candidate_spread: f64,
) -> f64
Expand description

The relative change a comparison allows: multiplier times the larger of the two sides’ spreads, but never less than floor.