Skip to main content

compute_mid_delta

Function compute_mid_delta 

Source
fn compute_mid_delta(min: i32, max: i32) -> i16
Expand description

Compute the mid delta between two values, using wrapping arithmetic.