Binary multiplication
ID: binary-multiplication
For nonnegative integers with binary representation , multiply by by summing the shifted terms . Each term is either zero or a left bit shift of . An unsigned -bit input pair needs at most product bits, because . This expansion follows from distributivity and motivates a binary multiplier.
New to topics? Read the docs here!