Parses arithmetical expressions in different modes
Application parses and evaluates arithmetical expressions, using different modes of evaluating.
Supports up to 3 different variables, constants, parenthesis and different arithmetical operations.
To run Evaluator, use:
java Evaluator <mode> <expression> <value of x> <value of y> <value of z>
Modes:
- "i" for evaluating in integer
- "u" for evaluating in integer, without overflow checking
- "bi" for evaluating in big integer
- "b" for evaluating in byte
- "d" fro evaluating in double
- "f" for evaluating in float
If you want to calculate expression value for x in range (x1 ... x2), y in range (y1 ... y2), z in range (z1 ... z2), use Tabulator.tabulate method