Function vec_trunc

Source
pub unsafe fn vec_trunc<T>(a: T) -> T
where T: VectorTrunc,
🔬This is a nightly-only experimental API. (stdarch_s390x #135681)
Available on s390x and target feature vector only.
Expand description

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.