CMathParser

Status: Stable
Released: 2023-04-27
License: MIT License

This is open source under the MIT License. You can obtain the source code from GitHub or browse the releases for source code associated with specific versions. If you make any changes which you feel improves this application, please feel free to submit a pull - request.

CMathParser

A fairly robust mathematics parsing engine for C++ projects which supports all standard mathematical operations for integer, decimal (floating point), logic and bitwise. Other features include ability for the engine to show its work and the support for custom functions and variables using method callbacks. Lots of example included in: Entry.cpp

It addition to the custom functions and variables, these are built in: ACOS, ASIN, ATAN, ATAN2, LDEXP, SINH, COSH, TANH, LOG, LOG10, EXP, MODPOW, SQRT, POW, FLOOR, CEIL, NOT, AVG, SUM, TAN, ATAN, SIN, COS, ABS.

If you came for the C# version you can find it at: NTDLS.ExpressionParser

Basic example usage:

Basic example result: