-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Bartłomiej Góra edited this page Jun 19, 2017
·
5 revisions
Simple RPN (Reverse Polish Notation) Library for Java. It is based on Dijkstra Algorithm. (https://en.wikipedia.org/wiki/Reverse_Polish_notation)
functionalities: +,-,*,/ with () Sin, cos, tg, ctg.
example:
pl.bgora.rpn.Calculator calc = Calculator.createDefaultCalculator();
BigDecimal result = calc.calculate("2^3*(12/6)+18/3+5.0/2");