News for hackers. Stuff that matters.
Re:Fast midpoint between two integers without overflow by eloff on Wednesday December 07, 2022 @09:01AM (#33894394)
The point of the midpoint calculation is to find the mid-index usually (e.g. binary search, quicksort). So a and b would be unsigned. You're right about signed integers though.

There are no comments on this comment yet.