Point out why standard multiplication is inefficient for a computer

This commit is contained in:
michaelangel007 2020-02-05 08:46:48 -08:00
parent 4675148878
commit b28f22aa7a
1 changed files with 2 additions and 2 deletions

View File

@ -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)