jiggzson / nerdamer

a symbolic math expression evaluator for javascript
http://www.nerdamer.com
MIT License
517 stars 82 forks source link

Wrong Calc: x^2 + x = x^3 on dev branch #461

Closed CosmoVibe closed 5 years ago

CosmoVibe commented 5 years ago

Disclaimer: This is from the version on the dev branch, not sure if I'm supposed to be making issues here like this, let me know if I should put dev issues elsewhere or not post them at all.

nerdamer('x^2 + x').toString()
"x^3"
nerdamer('x + x^2').toString()
"x+x^2"
jiggzson commented 5 years ago

No that's fine. Just indicate in the title that it's on the dev branch. Good catch. Thanks.

jiggzson commented 5 years ago

Fixed.