Searched refs:abs_d (Results 1 – 2 of 2) sorted by relevance
56 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShiftForDivRem() local60 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()63 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShiftForDivRem()64 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShiftForDivRem()81 if (remainder2 >= abs_d) { in CalculateMagicAndShiftForDivRem()83 remainder2 = remainder2 - abs_d; in CalculateMagicAndShiftForDivRem()85 delta = abs_d - remainder2; in CalculateMagicAndShiftForDivRem()
560 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShift() local563 uint64_t abs_nc = tmp - 1 - tmp % abs_d; in CalculateMagicAndShift()566 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShift()567 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShift()584 if (remainder2 >= abs_d) { in CalculateMagicAndShift()586 remainder2 = remainder2 - abs_d; in CalculateMagicAndShift()588 delta = abs_d - remainder2; in CalculateMagicAndShift()