Searched refs:summand (Results 1 – 4 of 4) sorted by relevance
467 const long long summand = dc_fixpt_half.value; in dc_fixpt_round() local469 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()471 arg_value += summand; in dc_fixpt_round()487 const long long summand = dc_fixpt_one.value - in dc_fixpt_ceil() local490 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()492 arg_value += summand; in dc_fixpt_ceil()
97 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed() local99 ASSERT(res_value <= MAX_I64 - summand); in bw_frc_to_fixed()101 res_value += summand; in bw_frc_to_fixed()
104 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction() local106 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction()108 res_value += summand; in dc_fixpt_from_fraction()
177 u64 summand = (rem << 1) >= b_abs; in drm_fixp_from_fraction() local179 res_abs += summand; in drm_fixp_from_fraction()