A simple RPN expression simplifier written in C.
- Constant folding for arithmetic and transcendental operations.
- Algebraic identity simplifications.
- Support for:
+,-,*,/,pwr,sin,cos,tan,!,exp,ln.
x exp ln->xx ln exp->xx y pwr ln->y x ln *x exp y exp *->x y + expx exp y pwr->x y * expx 0 pwr->1x 1 pwr->x
make./rpn_simplifyEnter RPN expression at the prompt.