I was using the calculator and I tried "2^2" and it gave me "0" instead of "1" then I tried "7^2" and got "5" and finally I tried "1^2" and it gave me "3". It looks as if the power symbol works as a minus if the left number is equal to or greater than than the right and as plus if it's less than the right.
Yes, the calculator just uses the same syntax as AS3, so ^ is a bitwise xor. So for your example 7^2 we have (in binary) 111 XOR 10 which equals 101 which is 5 in decimal. 1^2 is 1 XOR 10 which is 11 which is 3 in decimal. Long story short, to do an exponent, for example, 5^3, do Math.pow(5,3). Other stuff like Math.sin(#) and Math.atan(#) will also work.
Yes, the calculator just uses the same syntax as AS3, so ^ is a bitwise xor. So for your example 7^2 we have (in binary) 111 XOR 10 which equals 101 which is 5 in decimal. 1^2 is 1 XOR 10 which is 11 which is 3 in decimal. Long story short, to do an exponent, for example, 5^3, do Math.pow(5,3). Other stuff like Math.sin(#) and Math.atan(#) will also work.