u32x4_relaxed_trunc_f64x2_zero in core::arch::wasm32 - Rust
Description: A relaxed version of `u32x4_trunc_sat_f64x2_zero(a)` converts the `f64` lanes of `a` to unsigned 32-bit integers and the upper two lanes are zero.

Skip to main content

## u32x4_relaxed_trunc_f64x2_zero

# Function u32x4_relaxed_trunc_f64x2_zero

1.82.0 · Source

    pub fn u32x4_relaxed_trunc_f64x2_zero(a: v128) -> v128

Available on `target_family=wasm` and WebAssembly and target feature `relaxed-simd` only.
Expand description

A relaxed version of `u32x4_trunc_sat_f64x2_zero(a)` converts the `f64` lanes of `a` to unsigned 32-bit integers and the upper two lanes are zero.

Values which don’t fit in 32-bit unsigned integers or are NaN may have the same result as `u32x4_trunc_sat_f32x4` or may return `u32::MAX`.