core::arch::wasm

Function u32x4_relaxed_trunc_f32x4

Source
pub fn u32x4_relaxed_trunc_f32x4(a: v128) -> v128
🔬This is a nightly-only experimental API. (simd_wasm64 #90599)
Available on target_family="wasm" and target feature relaxed-simd only.
Expand description

A relaxed version of u32x4_trunc_sat_f32x4(a) converts the f32 lanes of a to unsigned 32-bit integers.

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.