This question already has an answer here:

I would like to teach a class on the "magic" behind the calculator, so I would like to generate a list of "algorithms" for how a calculator computes the things we want it to. I will get the ball rolling:

  1. Addition and subtraction is done via binary addition and subtraction.
  2. Logarithms and exponentiation is done via Taylor series.
  3. I'm not too sure about multiplication and division, do calculators do binary multiplication or do they use logarithms?

I hope that teaching students the mathematics behind the calculator would trigger a reaction everytime they use one in the future.


marked as duplicate by Amzoti, apnorton, user61527, user1337, Bruno Joyal Dec 20 '13 at 4:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.