Arduino Calculator functions.

I am thinking of trying to implement a load of calculator functions onto the arduino and was wondering if anyone knows anything similar that has been done or how these type of functions are implemented on a normal calculator.
Do they use something like 100 digits of pi or is there a clever way they do that for example.
Obviously the chips in calculators aren't too powerful so it can't be difficult to do the same functions on an arduino but how is a different matter.

Any links or info would be much appreciated.
Maybe if I get this done it can be my first written library.

Mowcius

Do you plan to have the user do only one operation at a time, like:

add x and y;
divide ANS by 2;
etc etc

Or do you want to be able to parse
(x + y) / 2

?
:slight_smile:

Google "CORDIC"

add x and y;
divide ANS by 2;
etc etc

Or do you want to be able to parse
(x + y) / 2

At first, I just want to implement single calculations (x+y etc.) and then I would like to implement the other stuff later.

That CORDIC stuff looks cool. I will read through it and see what I can work out. :wink:

Thanks,
Mowcius