Multiplication algorithm: Difference between revisions

Content deleted Content added
Reverted 1 edit by 2.124.109.179 (talk): The article is not a forum. (TW)
Line 217:
 
<source lang="python">
((x << 2) + x) << 1 # Here x*10 => x*[(2^2+1)*2]
(x << 3) + (x << 1) # Here x*10 => x*[(2^3+2)]
</source>