Function rdcl_aoc_helpers::math::abs_diff[][src]

pub fn abs_diff<T>(a: T, b: T) -> T where
    T: Sub<T, Output = T> + Ord + Copy
Expand description

The absolute difference between two numbers.