?
=?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.
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.