nearest_integer

Function nearest_integer 

Source
fn nearest_integer(value: f64) -> i32
Expand description

The integer nearest to 0 <= value < 2^31 (halves rounded up).