Function round
const fn round(x: f64) -> f64
Experimental version of round in core. See f64::round for details.
Examples
use f64;
let f = 3.3_f64;
let g = -3.3_f64;
let h = -3.7_f64;
let i = 3.5_f64;
let j = 4.5_f64;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
This standalone function is for testing only. It will be stabilized as an inherent method.