Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Derivative doesn't recognize constants like pi and e #838
math.derivative('e^x', 'x') // Uncaught Error: Invalid symbol in rule: e
and sometimes a weird indirect error is thrown:
math.derivative('log(x, 10)', 'x') // Uncaught Error: Invalid symbol in rule: e
What is a good way to deal with built-in constants?