Closed abrudz closed 2 years ago
Indeed. More symbols like this would make it more readable. Also things like eg. atan to tan⁻¹ and such.
Just watch out, as traditional mathematical notation is inherently ambiguous.
For example, f ²(x) is f(f(x)) but sin² x is (sin x)².
So if g(x)=sin x, then is g ²(x) equal to sin sin x or (sin x)²
Just watch out, as traditional mathematical notation is inherently ambiguous.
For example, f ²(x) is f(f(x)) but sin² x is (sin x)².
So if g(x)=sin x, then is g ²(x) equal to sin sin x or (sin x)²
Wow, I see, thank you! I will have to do some reading about this kind of things then, to make sure it makes sense, and perhaps document some things a bit more.
sin²x syntax is definitely something I'll want to implement, forgot about that.
Multiplication sign, division sign, arc functions, lowered digits, and cbrt now have unicode symbols!
Since you allow Unicode symbols, it'd be nice to use
×
and÷
for multiplication and division, with tab completion on*
and/
too.