Calculations of the form -x^y take place in AutoIt contrary to the mathematical standard (https://en.wikipedia.org/wiki/Order_of_operations#Unary_minus_sign). According to this standard, the power calculation is first, followed by the negation. This is what happens in the computer algebra system Maxima, as well as in Javascript.
AutoIt handles this the other way round, first the negation, then the power calculation. The list 'operator precedence' ('From highest precedence to lowest') reflec