Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 642 Bytes

File metadata and controls

20 lines (15 loc) · 642 Bytes

SIMPLE MATHEMATICAL EXPRESSION CALCULATOR

This is a simple mathematical expresion calculator.

  • Feature:
    1. Has its own built-in arithmetic functions, which can calculate very big numbers.
    2. Uses stack-based mathematical expression parsing method (which is simple and fast).
    3. Uses strict rules to validate mathematical expressions (prevent crashes).
  • Supported elements in the expression:
    1. Arithmetic operators: +, -, *, /
    2. Parentheses: (, )
    3. Numbers (of course)
  • Note:
    1. The program's division is integer's division.
  • Known bugs:
    1. Still have a limit of the number of digits
    2. Memory leak