Skip to main content

## vec_rint

# Function vec_rint

Source

    pub unsafe fn vec_rint<T: VectorRint>(a: T) -> T

🔬This is a nightly-only experimental API. (`stdarch_s390x` #135681)
Available on s390x and non-`target_abi=softfloat` and target feature `vector` only.
Expand description

Vector Round to Integer

Returns a vector by using the current rounding mode to round every floating-point element in the given vector to integer.