Talk:Infix notation

From Wikipedia, the free encyclopedia

Note that these rules are still ambiguous...

Is

1 - 2 - 3

equal to

1 - (2 - 3) = 2

or

(1 - 2) - 3 = -4

?

The convention is either to evaluate left to right or right to left, but I don't recall which. Salsa Shark 08:30 Mar 20, 2003 (UTC)
..only if you're illiterate. The former distributes the sign to other signs, which isn't at all told by the first expression. lysdexia 09:54, 24 Oct 2004 (UTC)