Conversions
Type conversions between SIMD vector types
Convert between SIMD types, change widths, reinterpret bits, and safely cast slices.
- Float / Integer —
to_i32,to_i32_saturating,to_i32_round,to_f32 - Width Conversions — Narrowing (pack), widening (extend), half-width (
split,from_halves_t) - Bitcast — Bit reinterpretation, signed/unsigned conversion
- Slice Casting — Token-gated
cast_slice_t,as_bytes,from_bytes_t(and why not bytemuck)