jiggzson / nerdamer

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

Incorrect result when using 'numer' for csc #624

Open Saikedo opened 3 years ago

Saikedo commented 3 years ago

When calculating csc for pi, .evaluate() as shown above works correctly and detects that it is undefined. nerdamer('csc(pi)').evaluate().text()

doing this however nerdamer('csc(pi)', {}, 'numer').text() incorrectly returns8165619676597685