calculator library

  • Thread starter =?iso-8859-1?Q?Sa=EFd?=
  • Start date
?

=?iso-8859-1?Q?Sa=EFd?=

Hi,

Is there a pure C library that emulate a calculator (with +-/* operations,
plus log, sin,cos... functions). I would like to call such a program in a
way resembling this:

result("(4+6)*sin(pi/3)");
Or if the calculator is a reverse polish one
result("4 6 + pi 3 / sin *");

i.e. a library that makes computations according to a human readable
equation. The simpler would be the better.

Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,404
Latest member
PerryRutt

Latest Threads

Top