1 2 3 4 5 6 7 8 9 10 11 12 13
Computes the absolute difference between `self` and `rhs`. # Examples Basic usage: ``` # use ::exint::primitive::*; # ::exint::uint! { assert_eq!(100_u24.abs_diff(80_u24), 20_u24); assert_eq!(100_u24.abs_diff(110_u24), 10_u24); # } ```