First compute the sum of the first component of the input interval and the halved value of the difference of the second component of the input interval and the first component of the input interval using checked subtraction using checked addition. Then if the target value is greater than the value at position that computed value in the input sequence, Return the pair consisting of the sum of that computed value and one using checked addition and the second component of the input interval. Otherwise, Return the pair consisting of the first component of the input interval and that computed value.