We consider the problem of adding two
n-bit numbers which are chosen independently and uniformly at random where the adder is circuit of AND, OR, and NOT gates of fanin two.
The fastest currently known worst-case adder has running time log n + O(sqrt of log n).
We first present a circuit which adds at least 1 - epsilon fraction of pairs of numbers correctly and has running time log log (n\epsilon) + O(sqrt of log log (n\epsilon)).
We then prove that this running time is optimal.
Next we present a circuit which always produces the correct answer. We show this circuit adds two n-bit numbers from the uniform distribution in expected (1\2) log n + O(sqrt of log n) time, a speed up factor of two over the best possible running time of a worst-case adder.
We prove that this expected running time is optimal.
Title
Tight Bounds on Expected Time to Add Correctly and Add Mostly Correctly
Published
1993-04-16
Full Collection Name
Electrical Engineering & Computer Sciences Technical Reports
Other Identifiers
CSD-93-737
Type
Text
Extent
8 p
Archive
The Engineering Library
Usage Statement
Researchers may make free and open use of the UC Berkeley Library’s digitized public domain materials. However, some materials in our online collections may be protected by U.S. copyright law (Title 17, U.S.C.). Use or reproduction of materials protected by copyright beyond that allowed by fair use (Title 17, U.S.C. § 107) requires permission from the copyright owners. The use or reproduction of some materials may also be restricted by terms of University of California gift or purchase agreements, privacy and publicity rights, or trademark law. Responsibility for determining rights status and permissibility of any use or reproduction rests exclusively with the researcher. To learn more or make inquiries, please see our permissions policies (https://www.lib.berkeley.edu/about/permissions-policies).