Function core::intrinsics::simd::simd_div

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

Divide lhs by rhs 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.