News for hackers. Stuff that matters.
Re:Fast midpoint between two integers without overflow by bonzini on Wednesday December 07, 2022 @10:21AM (#33895338)
It's still wrong for signed integers if a/2 rounds towards zero. You need a>>1 and b>>1.

There are no comments on this comment yet.