Function core::intrinsics::exact_div

const: unstable · source ·
pub unsafe extern "rust-intrinsic" fn exact_div<T: Copy>(
    x: T,
    y: T
) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

执行精确除法,从而导致 x % y != 0y == 0x == T::MIN && y == -1 出现不确定的行为

此内部函数没有稳定的对应对象。