Functionsยง
- fast_
inline_ round_ f32 - Returns the given
f32
as rounded to the nearest integer. Same output as f32::round(). This follows theas
rules for saturated casting off32
toi32
. See more in the Rust Reference. - fast_
inline_ round_ f64 - Returns the given
f64
as rounded to the nearest integer. Same output as f64::round(). This follows theas
rules for saturated casting off64
toi64
. See more in the Rust Reference.