this post was submitted on 10 Apr 2024
695 points (96.0% liked)

Science Memes

10988 readers
2004 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Artyom@lemm.ee 20 points 7 months ago (4 children)

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.

[–] ZILtoid1991@lemmy.world 6 points 7 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.

[–] Kacarott@feddit.de 2 points 7 months ago

There must be add-vantages to this design.

[–] 0ops@lemm.ee 1 points 7 months ago

And don't get me started on demorgan's law!

[–] FantasmaNaCasca@lemmy.world 1 points 7 months ago* (last edited 7 months ago) (1 children)

Wait...is it All...just adding? ಠ_ಠ

[–] Artyom@lemm.ee 3 points 7 months ago

Always has been