matheval / expression-evaluator-c-sharp

Matheval is a mathematical expressions evaluator library written in C#. Allows to evaluate mathematical, boolean, string and datetime expressions
https://matheval.org/
MIT License
107 stars 29 forks source link

Absolute value of x inside log(), ln() and cot() function gives decimal error #11

Closed x2y8 closed 1 year ago

x2y8 commented 1 year ago

Function log10(abs(x)), ln(abs(x)), cot(abs(x)), I get decimal error. Works with sqrt(abs(x)). Thank you.

image
x2y8 commented 1 year ago

Did not include case where x is 0.