Command line arithmetic calculator for school exam
Simple tool to solve any valid arithmetic function you throw at it. Includes function support. Example run: ArithmeticCalculator.exe "sin(1+2) * max(3/4,5*6) - 11" For testing flip the macro TEST in main.cpp from false to true and check the ArithmeticCalculatorTestBase.cpp
Operators supported: +,-,*,/
Functions supported:
- sin(x)
- cos(x)
- tan(x)
- log(x)
- exp(x)
- sqrt(x)
- min(x,y)
- max(x,y)
- nsd(x,y) - Greatest Common Divisor
- nsn(x,y) - Least Common Denominator