Function std::intrinsics::simd::simd_rem

source ·
pub unsafe extern "rust-intrinsic" fn simd_rem<T>(lhs: T, rhs: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Returns remainder of two vectors elementwise.

T must be a vector of integer or floating point primitive types.

§Safety

For integers, rhs must not contain any zero elements. Additionally for signed integers, <int>::MIN / -1 is undefined behavior.