Searched refs:abs_d (Results 1 – 1 of 1) sorted by relevance
58 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShiftForDivRem() local62 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()65 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShiftForDivRem()66 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShiftForDivRem()83 if (remainder2 >= abs_d) { in CalculateMagicAndShiftForDivRem()85 remainder2 = remainder2 - abs_d; in CalculateMagicAndShiftForDivRem()87 delta = abs_d - remainder2; in CalculateMagicAndShiftForDivRem()