Skip to main content

usize_to_f64

Function usize_to_f64 

Source
pub const fn usize_to_f64(value: usize) -> f64
Expand description

Converts a usize to f64 with the same rounding as Rust’s native cast.