a49cf5502d
Vanilla 26.3 Mth.floor(double) is (int) Math.floor(v), so a value below i32::MIN floors to i32::MIN. The truncate-and-step version wrapped to i32::MAX there (block_collision_scan parity failed at the chunk of x = -2147483648.8: Rust 134217727, vanilla -134217728). Step down with saturating_sub; the fast path is unchanged, and the test now checks the ends of the i32 range, infinities and f64::MIN/MAX against f64::floor as i32. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>