fn checked_f64_to_i32(v: f64) -> Option<i32>
Converts an f64 to i32, returning None for non-finite or out-of-range values instead of silently saturating.
f64
i32
None