Skip to main content

within_tolerance

Function within_tolerance 

Source
pub fn within_tolerance(
    target: f64,
    measured: f64,
    tolerance: f64,
) -> Result<bool, SetpointError>