Fast midpoint between two integers without overflow
lemire.meLet us say that I ask you to find the number I am thinking about between -1000 and 1000, by repeatedly guessing a number. With each guess, I tell you whether your guess is correct, smaller or larger than my … Read more