DEV Community

Discussion on: A bug was found in Java after almost 9 years of hiding.

Collapse
 
realoscarcastro profile image
Oscar Castro

Another way to find the mid: int mid = (low + high) >>> 1.

Source: ai.googleblog.com/2006/06/extra-ex...