Function core::arch::wasm32::i32x4_trunc_sat_f64x2_zero

1.54.0 · source ·
pub fn i32x4_trunc_sat_f64x2_zero(a: v128) -> v128
Available on target_family="wasm" and target feature simd128 and WebAssembly only.
Expand description

使用 IEEE convertToIntegerTowardZero 函数将两个双精度浮点 lanes 饱和转换为两个较低的整数 lanes。

结果的两个较高 lane 被初始化为零。如果任何输入 lane 为 NaN,则结果 lane 为 0. 如果 lane 的舍入整数值超出目标类型的范围,则结果饱和为最接近的可表示整数值。