vec_round in core::arch::powerpc - Rust
Description: Vector Round

core::arch::powerpc

# Function vec_round

Source

    pub unsafe fn vec_round<T>(a: T) -> Twhere
        T: VectorRound,

🔬This is a nightly-only experimental API. (`stdarch_powerpc` #111145)
Available on (PowerPC or PowerPC-64) and target feature `altivec` and PowerPC only.
Expand description

Vector Round

### §Purpose

Returns a vector containing the rounded values of the corresponding elements of the source vector.

### §Result value

Each element of r contains the value of the corresponding element of a, rounded to the nearest representable floating-point integer, using IEEE round-to-nearest rounding. The current floating-point rounding mode is ignored.