Skip to main content

## vec_roundz

# Function vec_roundz

Source

    pub unsafe fn vec_roundz<T: VectorTrunc>(a: T) -> T

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

Vector Round toward Zero

Returns a vector containing the truncated values of the corresponding elements of the given vector. Each element of the result contains the value of the corresponding element of a, truncated to an integral value.