3 ms·
C doesn't have an exponentiation operator, and instead uses `^` to mean XOR. Other languages have copied that meaning of `^` and hence need to use something dif
by pansa2 6y ago
C doesn't have an exponentiation operator, and instead uses `^` to mean XOR. Other languages have copied that meaning of `^` and hence need to use something different for exponentiation.
However, Lua is one language that does use `^` for exponentiation (its XOR operator is `~`).