pub(crate) unsafe extern "platform-intrinsic" fn simd_rem<T>(
    lhs: T,
    rhs: T
) -> T
🔬This is a nightly-only experimental API. (portable_simd #86656)
Expand description

urem/srem/frem ints and uints: {s,u}rem incur UB if division by zero occurs. ints: srem is UB for int::MIN / -1. floats: frem is equivalent to libm::fmod in the “default” floating point environment, sans errno.