Light Mode
Dark Mode
same priority for '+' and '-'

If you fix the priority for '+' and '-' to the same, I think the expression "2+3-3" should be evaluated as "3-(2+3)", not as "3-3+2". Because "+" operator is left associative and the priority is same as "-", so the first term "2+3" should be evaluated earlier than the rest of the term. How do you think about it?

Created: Feb. 25, 2014, 2:22 p.m.
Updated: Feb. 25, 2014, 7:55 p.m.
0
17
User avatar
chiral