News for hackers. Stuff that matters.
Re:Nearly All Binary Searches and Mergesorts Are Broken (2006) by leni536 on Sunday November 06, 2022 @09:29AM (#33492973)
The naive (x+y)/2 returns the wrong number for x=UINT_MAX and y=UINT_MAX, for a trivial counter example.

There are no comments on this comment yet.