# Function core::arch::wasm32::u32x4_trunc_sat_f32x4
[−][src]

    pub unsafe fn u32x4_trunc_sat_f32x4(a: v128) -> v128

🔬 This is a nightly-only experimental API. (`wasm_simd` #74372)
This is supported on WebAssembly and target feature `simd128` only.
Expand description

Converts a 128-bit vector interpreted as four 32-bit floating point numbers into a 128-bit vector of four 32-bit unsigned integers.

NaN is converted to 0 and if it’s out of bounds it becomes the nearest representable intger.