Skip to content

About

Command line arithmetic calculator for school exam

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArithmeticCalculator

Command line arithmetic calculator for school exam

Simple tool to solve any valid arithmetic function you throw at it. Includes function support. Example run: ArithmeticCalculator.exe "sin(1+2) * max(3/4,5*6) - 11" For testing flip the macro TEST in main.cpp from false to true and check the ArithmeticCalculatorTestBase.cpp

Operators supported: +,-,*,/

Functions supported:

  • sin(x)
  • cos(x)
  • tan(x)
  • log(x)
  • exp(x)
  • sqrt(x)
  • min(x,y)
  • max(x,y)
  • nsd(x,y) - Greatest Common Divisor
  • nsn(x,y) - Least Common Denominator

About

Command line arithmetic calculator for school exam

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages