Searched refs:strunc (Results 1 – 2 of 2) sorted by relevance
43 strunc(int64_t x, unsigned num_bits) in strunc() function137 return strunc((a * b) >> num_bits, num_bits); in smul_high()180 res = strunc(res + n, num_bits); in fast_sdiv()182 res = strunc(res - n, num_bits); in fast_sdiv()
2605 - util: Use uint64_t for shifting left in sign_extend and strunc