News for hackers. Stuff that matters.
Re:Are you one of the 10% of programmers who can write a bin... by joezydeco on Monday April 19, 2010 @09:36PM (#1278354)
An array of length Maxint?
Re:Are you one of the 10% of programmers who can write a bin... by ableal on Tuesday April 20, 2010 @06:07AM (#1279054)
Good call. As per link in http://news.ycombinator.com/item?id=1277701 (elsewhere in this page):

the binary search program that Bentley proved correct and subsequently tested in Chapter 5 of Programming Pearls contains a bug [...] it fails if the sum of low and high is greater than the maximum positive int