Lines Matching refs:halfway
115 // Check for literal overflow, even with halfway cases.
148 // Specifically, we want to know if we are close to a halfway representation,
149 // or halfway between `b` and `b+1`, or `b+h`. The halfway representation
158 // The halfway representation has a bit set 1-after the mantissa digits,
181 // inaccurate, or if the representation is too close to halfway
182 // that any operations could affect this halfway representation.
203 // is the halfway point, IE, this when the truncated bits start
214 // cmp1 = (halfway - errors) < extra
215 // cmp1 = extra < (halfway + errors)
220 // halfway = 0b10000000
223 // halfway - errors = 0b01111100
224 // halfway + errors = 0b10000100
227 // halfway - errors = 124
228 // halfway + errors = 132
233 // halfway - errors = 124
234 // halfway + errors = -124
247 // Round-to-nearest, need to use the halfway point.
258 // Round-to-nearest, need to check if we're close to halfway.
260 let halfway = lower_n_halfway(maskbits);
261 let cmp1 = halfway.wrapping_sub(errors) < extra;
262 let cmp2 = extra < halfway.wrapping_add(errors);