mirror of
https://github.com/Michaelangel007/apple2_russian_peasant_multiplication.git
synced 2024-12-20 23:29:19 +00:00
Point out why standard multiplication is inefficient for a computer
This commit is contained in:
parent
4675148878
commit
b28f22aa7a
@ -53,8 +53,8 @@ In base 2:
|
||||
00111001 (57)
|
||||
--------
|
||||
01010110 (86 * 2^0 = 86)
|
||||
00000000 (86 * 2^1 = 172)
|
||||
00000000 (86 * 2^2 = 344)
|
||||
00000000 (86 * 2^1 = 172) <- wasted work, partial sum = 0
|
||||
00000000 (86 * 2^2 = 344) <- wasted work, partial sum = 0
|
||||
01010110 (86 * 2^3 = 688)
|
||||
01010110 (86 * 2^4 = 1376)
|
||||
01010110 (86 * 2^5 = 2752)
|
||||
|
Loading…
Reference in New Issue
Block a user