There must be add-vantages to this design.
Comment on wat
Artyom@lemm.ee 8 months ago
Just wait until they learn that computers subtract by adding, and multiply by adding, and divide by adding, and do exponents by adding, and do logarithms by adding.
Kacarott@feddit.de 8 months ago
0ops@lemm.ee 8 months ago
And don’t get me started on demorgan’s law!
FantasmaNaCasca@lemmy.world 8 months ago
Wait, is it All…just adding? ಠ_ಠ
Artyom@lemm.ee 8 months ago
Always has been
ZILtoid1991@lemmy.world 8 months ago
it multiplies by using a complex set of gate arrays that do some adding, otherwise hardware multipliers are like multiplier tables built up by logic gates. Early CPUs did multiplication by adding (essentially multiplications are just recursively adding the same numbers to themselves), and if you were lucky it was optimized to use bit-shifts.
Division is a lot more complicated though. I did some optimization by multiplying with reciprocals instead, but speed gain was negligible due to memory bandwith limitations.