core::arch::x86

Function _mm_round_ps

1.27.0 · Source
pub unsafe fn _mm_round_ps(a: __m128, const ROUNDING: i32) -> __m128
Available on (x86 or x86-64) and target feature sse4.1 and x86 only.
Expand description

Round the packed single-precision (32-bit) floating-point elements in a using the ROUNDING parameter, and stores the results as packed single-precision floating-point elements. Rounding is done according to the rounding parameter, which can be one of:

Intel’s documentation