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

# 1.27.0[−][src]Function core::arch::x86::_mm256_round_ps

    pub unsafe fn _mm256_round_ps(a: __m256, b: i32) -> __m256

This is supported on x86 and target feature `avx` only.

Rounds packed single-precision (32-bit) floating point elements in `a` according to the flag `b`. The value of `b` may be as follows:

- `0x00`: Round to the nearest whole number.
- `0x01`: Round down, toward negative infinity.
- `0x02`: Round up, toward positive infinity.
- `0x03`: Truncate the values.

For a complete list of options, check the LLVM docs.

Intel's documentation