jiggzson / nerdamer

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

`log(1/sqrt(2))` get wrong output #573

Closed DylanXie123 closed 3 years ago

DylanXie123 commented 4 years ago

I find a bug when I test some math eqautions. 1/sqrt(2)==0.7071 and log(0.7071)==-0.3552, but when I type log(1/sqrt(2)), I get 0.3552 instead of -0.3552 Image

jiggzson commented 3 years ago

Got it. Will fix.