Skip to content

leppaott/ScalculatorSBT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ScalculatorSBT

A Scala command line calculator using shunting-yard algorithm (not very Scala-like implementation), SBT and ScalaTest.

Example

2 * ((3 * 2) + 5)

22

sqrt(2/5)^2 * abs(-1)

0.4

Supports

parentheses

operations +, -, *, /, ^ (exponentation)

functions sqrt, abs, sin, cos, tan (one argument)

range of values is that of Double

About

Scala command line calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages