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

Science Memes

10377 readers
4223 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.


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
[–] [email protected] 19 points 5 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.

[–] [email protected] 6 points 5 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.

[–] [email protected] 2 points 5 months ago

There must be add-vantages to this design.

[–] [email protected] 1 points 5 months ago

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

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

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

[–] [email protected] 3 points 5 months ago

Always has been