Affiliation:
1. University of British Columbia, Canada
2. Harvey Mudd College, Claremont, CA
Abstract
Suppose that a random
n
-bit number
V
is multiplied by an odd constant
M
≥ 3, by adding shifted versions of the number
V
corresponding to the 1s in the binary representation of the constant
M
. Suppose further that the additions are performed by carry-save adders until the number of summands is reduced to two, at which time the final addition is performed by a carry-propagate adder. We show that in this situation the distribution of the length of the longest carry-propagation chain in the final addition is the same (up to terms tending to 0 as
n
→ ∞) as when two independent
n
-bit numbers are added, and in particular the mean and variance are the same (again up to terms tending to 0). This result applies to all possible orders of performing the carry-save additions.
Funder
Division of Computing and Communication Foundations
Publisher
Association for Computing Machinery (ACM)
Subject
Mathematics (miscellaneous)