Open AlexanderJCS opened 8 months ago
In order to consider the base would this involve using the change-of-base formula to compute it correctly?
Yes, the change-of-base formula will be needed
Alright let me try my hand at this; which file is this in?
editor/uiclasses.js
Edit: log function is now fully implemented so I changed the title of this issue to reflect the changes (ignore the fact that I had the wrong term before :D)
After #46 is closed it would be helpful to add a factorial function before putting it through the getEvalFormula method. I've written one that I can add once #46 is closed.
function factorial(i) {return i - 1 < 1 ? ( i == 1 ? i : 0) : i*factorial(i-1);}
EDIT: logarithm is now fully implemented. Factorial is not.
Factorial and logarithm are not implemented:
uiclasses.js:
The factorial function just returns its input, while the logarithm doesn't take into account the base,
input2
.I'll probably assign myself this issue if nobody fixes it in a few days, but this is a good first issue.