Function core::arch::x86_64::_mm256_round_ps
1.27.0 · source · pub unsafe fn _mm256_round_ps(a: __m256, const ROUNDING: i32) -> __m256Available on (x86 or x86-64) and target feature
avx and x86-64 only.Expand description
根据标志 ROUNDING 对 a 中的单精度 (32-bit) 浮点包装元素进行舍入。
ROUNDING 的值可能如下:
0x00: 四舍五入到最接近的整数。0x01: 向下取整,趋向于负无穷大。0x02: 向上取整,趋向于正无穷大。0x03: 截断值。
有关选项的完整列表,请检查 LLVM 文档。