Content deleted Content added
Line 73:
==How it works==
Consider a positive multiplier consisting of a block of 1s surrounded by 0s. For example, 00111110. The product is given by:
:
where M is the multiplicand. The number of operations can be reduced to two by rewriting the same as
: <math> M \times \,^{\prime\prime} 0 \; 1 \; 0 \;0 \;0 \; 0 \mbox{-1} \; 0 \,^{\prime\prime} = M \times (2^6 - 2^1) = M \times 62. </math>
|