round

Function round 

Source
fn round(x: f32) -> f32
Expand description

Fast rounding for x <= 2^23. This is orders of magnitude faster than built-in rounding intrinsic.

Source: https://stackoverflow.com/a/42386149/585725