Function core::core_simd::intrinsics::simd_div
source · pub(crate) unsafe extern "platform-intrinsic" fn simd_div<T>(
lhs: T,
rhs: T
) -> T
🔬This is a nightly-only experimental API. (
portable_simd
#86656)Expand description
udiv/sdiv/fdiv ints and uints: {s,u}div incur UB if division by zero occurs. ints: sdiv is UB for int::MIN / -1. floats: fdiv is never UB, but may create NaNs or infinities.