Searched refs:abs_d (Results 1 – 1 of 1) sorted by relevance
556 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShift() local559 uint64_t abs_nc = tmp - 1 - tmp % abs_d; in CalculateMagicAndShift()562 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShift()563 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShift()580 if (remainder2 >= abs_d) { in CalculateMagicAndShift()582 remainder2 = remainder2 - abs_d; in CalculateMagicAndShift()584 delta = abs_d - remainder2; in CalculateMagicAndShift()