Initial Project Commit
Currently the calcualtor can handle simple expressions with brackets
README.md edited online with Bitbucket
Added Powers
The calculator can now process powers
Merge branch 'master' of bitbucket.org:danielbraithwt/rubycalc
Added an exception for powers
An eeception will be thrown if try to raise to power of a non number
Added More syntax checking
Node will now throw error if recives unreconised charactor
Added Basic Unit Tests
I added some very simple unit tests will add more tests to it
Multiple Operator Test Cases
I added test cases for expressions with multiple operators in them
Bracket Test Cases
Added test cases for expressions with brackets
Test Cases For Exponent Expressions
Added some test cases for testing exponent expressions
Removed Print Statments
Removed some print statments from the test cases
Fixed Bugs In Tests
Fixed a cupple of bugs in my tests
Fixed Brackets Bug
Fixed a problem where if a expression has multiple sets of brackets on
it then it would only eval one if them, that is fixed
Added Support For Variables & Multi Lines
Now variables can be set and multiple lines of
expressions can be excuted at the time. If a line
isnt assigned to it then it will be assigned to
'ans' by default. Lines of expressions are seperated
by a ';'
Test Cases For Multi Line
I added test cases for multi line expressions and variables
Added Math Functions
Added math functions like sin, cos, tan, arcsin, arccos.
also the hypobolic trig functions. and ln and log
Test Cases For Functions
Added test cases for some functions
Fixed Bug With Functions
I fixed a bug with when you had an expression in the function
this bug would also apply to the expressions inside brackets.
The bug was that if you dident have spaces in the expression then
it wouldent work
Fixed Problem with tanh And arctanh
There was a problem with the function tanh and arctanh
i was just leaving some constants off the end of the statment
that found the closing bracket
Added Constants
I added the constants PI and E