Function abs_sub
fn abs_sub(x: f64, other: f64) -> f64
Experimental version of abs_sub in core. See f64::abs_sub for details.
Examples
use f64;
let x = 3.0_f64;
let y = -3.0_f64;
let abs_difference_x = .abs;
let abs_difference_y = .abs;
assert!;
assert!;
This standalone function is for testing only. It will be stabilized as an inherent method.