Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.31 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.31 KB

Support me on Patreon

Click here to become a patron and get your reward!

djlastnight's Calculator

alt text

The core provides experimental math expression parser.

Usage example:
double result = CalculatorCore.Operations.Compute("(negate(sqrt(123.4) * 5.678 - 910 + 11.12) ^ 13.14) / -15.1617");

You can easily add new custom math operators and functions to it. They are defined at Custom.cs.

Currently all the user defined operators has equal (but higher than the 'standard' operators like '+', '-', '*', '/') precedence. They could be left (not tested) or right associative.

Currently the WPF app supports keyboard input for the 'standard' operators and the digits.
Try it now!

djlastnight, 2018