Conversions

Type conversions between SIMD vector types

Convert between SIMD types, change widths, reinterpret bits, and safely cast slices.

  1. Float / Integerto_i32x8, to_i32x8_round, to_f32x8
  2. Width Conversions — Narrowing (pack), widening (extend), half-width (split, from_halves)
  3. Bitcast — Bit reinterpretation, signed/unsigned conversion
  4. Slice Casting — Token-gated cast_slice, as_bytes, from_bytes (and why not bytemuck)