Searched refs:rounding_bit (Results 1 – 4 of 4) sorted by relevance
63 let rounding_bit = T::one() << (bits - MANTISSA_DIGITS as usize - 1); in mantissa_max() localVariable64 let x = T::max_value() - rounding_bit; in mantissa_max()
39 %define rounding_bit 48
34 int rounding_bit = 1 << (MFQE_PRECISION - 1); in filter_by_weight() local39 dst[c] = (src[c] * src_weight + dst[c] * dst_weight + rounding_bit) >> in filter_by_weight()
25 const int rounding_bit = 1 << (MFQE_PRECISION - 1); in filter_by_weight() local30 dst[c] = (src[c] * src_weight + dst[c] * dst_weight + rounding_bit) >> in filter_by_weight()