core::arch::wasm32::i32x4_trunc_s_f32x4_sat - Rust
Description: API documentation for the Rust `i32x4_trunc_s_f32x4_sat` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, i32x4_trunc_s_f32x4_sat

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

    pub fn i32x4_trunc_s_f32x4_sat(a: v128) -> v128

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on WebAssembly only.

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

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