jiggzson / nerdamer

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

Loss of decimal precission for functions such as sqrt, log, pi, e, exp and trig functions #614

Open Saikedo opened 3 years ago

Saikedo commented 3 years ago

I have noticed that in the latest versions of nerdamer, we experienced a slight loss of precision for various functions. A good strategy would be to convert functions such as

sqrt, log, pi, e, exp, and the trig (hyperbolic, inverse, etc) as well as n-th root

to big numbers completely.