- setting functions to not exist now works correctly
- copy to clipboard on defined functions
- added
sgn
function - added a terrible
factorial
function - fixed a bug with negative signs not working
- reworked the math engine logic
- changed
random()
andrand()
to berand
andrandom
- added custom constants
- Added
yaw
andpitch
variables - Fixed bug with inverse trig functions
- Fixed bug for crashing with
=
being tabbed - Made exponentials read a term instead of a part (meaning that
2^3*2
is now the same as2^(3*2)
, however,2^3+3
is still(2^3)+3
; originally Chat Calc would read(2^3)*2
)
- rewrote the entire function system to let me have multivariable functions
- your input will not compute rather than giving back "NaN" if your syntax is incorrect
- added cfg? to give you a list of the config options
- fixed existing code that had logic issues, "1+2)/3" is now equal to 1 instead of 3
- refactored config system so it doesn't break when i add new features now
- fixed issue #6 by making a new option (calculate_last, on by default) that puts calculations after tabbing in entries like commands and usernames (well I haven't tested usernames but it shouldn't go first)
- because of the fix, ive removed the euler config option, existing always since the issue beforehand is that you can commonly type in 'e' and it gives you a number instead of what you want
- the only things i see left are to add new features, so if you have anything, feel free to ask
- fixed issue where every number was e
- added feature for sin^a(b)
- fixed radians and degrees being swapped