Function core::arch::wasm32::i32x4_relaxed_trunc_f32x4

1.82.0 · source ·
pub fn i32x4_relaxed_trunc_f32x4(a: v128) -> v128
Available on target_family="wasm" and target feature relaxed-simd and WebAssembly only.
Expand description

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

Values which don’t fit in 32-bit integers or are NaN may have the same result as i32x4_trunc_sat_f32x4 or may return i32::MIN.