In page 6 of A very fast multiplication algorithm , how do the PAR-allel multiplication work ?
Why is 12021011 equivalent to 299 ?
In page 6 of A very fast multiplication algorithm , how do the PAR-allel multiplication work ?
Why is 12021011 equivalent to 299 ?
Copyright © 2021 JogjaFile Inc.
12021011 is $100101011_2 = 299_{10}$ before the carry.
The rough idea of algorithm:
(1) divide the factors in chunks,
(2) do in parallel the product of chunks,
[now, we must shift and add the (many) chunks]
(3) do in parallel the shifts,
(4) take the (say) S shifted chunks in subsets of 2 and do in parallel the S/2 sums,
(5) repeat the procedure with the S/2 sums
...