## vec_trunc

# Function vec_trunc

Source

    pub unsafe fn vec_trunc<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 Truncate

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.