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