Skip to content

kvbc/cmd-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmd-calculator

A command-line calculator, my first project written in C++. Containing a couple of mathematical operators and functions. This calculator was written without using the stack and for calculations it uses the standard infix notation.

Operators

  • + Addition
  • - Subtraction
  • * Multiplication
  • / Division
  • ^ Exponent
  • % Modulus

Functions

  • abs() - Absolute value
  • floor() - Floor
  • ceil() - Ceiling
  • sin() - Sine
  • cos() - Cosine
  • tan() - Tangent
  • asin() - Arcsine
  • acos() - Arccosine
  • atan() - Arctangent
  • sqrt() - Square root
  • cbrt() - Cube root
  • log() - Logarithm
  • exp() - Exponentiation

This README was inspired by a README from btmills calculator

About

A basic cmd calculator written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages