Mathematics behind a calculator
I have tried googling around for a bit, but I lack the technical terms and mathematical knowledge to find results that gives me mathematical intuition about how a calculator work mathematically.
If you have time, please give me a short or long description on how a calculator works. If it is a long and thorough answer, I will start a bounty on 50 rep to award this answer with.
Otherwise, it will suffice with terms so that I may research further on what is "in" a calculator.
I sincerely hope that I have not misunderstood the concept behind a calculator, please leave me a comment if so.
PS I want to know how a calculator calculates more advanced expressions, not just division but, for example, $e$, $\sum$, $\int$, trigonometric functions and et cetera.