Searched refs:rounding_boundary (Results 1 – 2 of 2) sorted by relevance
65 int32_t rounding_boundary = 1 << (shift - 1); in round_fixed_point() local68 return (decimal_part < rounding_boundary) ? (n & ~mask) : ((n >> shift) + 1) << shift; in round_fixed_point()
63 rounding_boundary = 1 << (shift - 1)66 if decimal_part < rounding_boundary: