For x and y such that 0≤x,y<2w: x+wuy={x+y,x+y−2w,x+y<2w2w≤x+y<2w+1NormalOverflow This forms an Abelian group Visual demonstration Detecting overflow The sum of two unsigned numbers, s=x+wuy can be detected as an overflow if s<x (or equivalently, s<y). Sources Computer Systems - A Programmer’s Perspective Related Notes