f32x4_demote_f64x2_zero in core::arch::wasm32 - Rust
Description: Conversion of the two double-precision floating point lanes to two lower single-precision lanes of the result. The two higher lanes of the result are initialized to zero. If the conversion result is not representable as a single-precision floating point number, it is rounded to the nearest-even representable number.

Skip to main content

## f32x4_demote_f64x2_zero

# Function f32x4_demote_f64x2_zero

1.54.0 · Source

    pub fn f32x4_demote_f64x2_zero(a: v128) -> v128

Available on WebAssembly and `target_family=wasm` and target feature `simd128` only.
Expand description

Conversion of the two double-precision floating point lanes to two lower single-precision lanes of the result. The two higher lanes of the result are initialized to zero. If the conversion result is not representable as a single-precision floating point number, it is rounded to the nearest-even representable number.