Parse ² and ³ as one would expect in the calc command
Created by: mgmoens
Problem: ² and ³ are obvious mathematical characters (my terminal even changes ^2 into ²), but triggered errors in calc.
Solution: Added two specific tokens, square and cube, to the calc tokens.
Changes introduced by this pull request:
- Added these tokens and added some code in the exponentiation fn.
Drawbacks: I think none.
TODOs: Maybe write a test?
Fixes: None. I was playing around in calc and noticed this.
State: Ready.
Blocking/related: I think none.
Other: None