Searched refs:rnd (Results 1 – 2 of 2) sorted by relevance
336 int exp, rnd; in encode_comp_t() local338 exp = rnd = 0; in encode_comp_t()340 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ in encode_comp_t()348 if (rnd && (++value > MAXFRACT)) { in encode_comp_t()380 int exp, rnd; in encode_comp2_t() local383 rnd = 0; in encode_comp2_t()385 rnd = value & 1; in encode_comp2_t()393 if (rnd && (++value > MAXFRACT2)) { in encode_comp2_t()
36 u64 rnd; in cev_delta2ns() local40 rnd = (u64) evt->mult - 1; in cev_delta2ns()68 if ((~0ULL - clc > rnd) && in cev_delta2ns()70 clc += rnd; in cev_delta2ns()