core::arch::x86_64

Function _mm_round_pd

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

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

Intel’s documentation