>>-24/4(-2) >>>>Is it:
>>-6(-2) = 12 >>>>Or is it:
>>-24/-8 = 3 >>>
>Numeric operators function with all numeric values. The following table lists the numeric operators in order of precedence. > >Numeric Operators >Operator Action Code >( ) > Group subexpressions > (4-3) * (12/nVar2) > >**, ^ > Exponentiation > ? 3 ** 2 > >? 3 ^ 2 > >*, / > Multiplication and division > ? 2 * 7 > >? 14 / 7 > >% > Modulus (remainder) > ? 15 % 4 > >+, - > Addition and subtraction > ? 4 + 15 > >Mike,
-24 / 4 * (-2) (-24 / 4) * (-2) -24 * 2 / 3 (-24 * 2 ) / 3In fortran the exponent operator is right associative
2 ^ 3 ^ 2 = 2 ^ (3^2) = 2 ^ 9In C#, assignment operators, unary operators and the conditional operator are Right associative
int x = 0; int y = -~x ;// 1 int z = ~-x; // -1Update: about exponents http://mathforum.org/library/drmath/view/53887.html