C++ Expression Calculation Library can calculate entered string expression or range with X value substitution.
- (a + b)
- a + b
- a - b
- a * b
- a / b
- a ^ b
- a mod b
- +a
- -a
- cos(x)
- sin(x)
- tan(x)
- acos(x)
- asin(x)
- atan(x)
- sqrt(x)
- ln(x)
- log(x)
- x substitution
git clone https://github.com/v3ssel/CalculationLib
cd CalculationLib
make libs