/chalk

Double precision command line calculator

Primary LanguageC

chalk

Double precision command line calculator that uses a tree structure to store mathematical expressions.

Features

  • Parentheses
  • Exponents
  • Multiplication and division
  • Addition and subtraction
  • Negative numbers
  • Factorials
  • Modulo

Variables and functions coming soon. When I add functions, there will be a dedicated square root function. Until then, to take the nth rooth of a number x, just do x ^ (1 / n).