Searched refs:rnd (Results 1 – 2 of 2) sorted by relevance
317 int exp, rnd; in encode_comp_t() local319 exp = rnd = 0; in encode_comp_t()321 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ in encode_comp_t()329 if (rnd && (++value > MAXFRACT)) { in encode_comp_t()359 int exp, rnd; in encode_comp2_t() local362 rnd = 0; in encode_comp2_t()364 rnd = value & 1; in encode_comp2_t()372 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()