Infix notation
|
Infix notation is the arithmetic formula notation known to most people, in which operators are written infix-style between the operands they act on. It is not as simple to parse by computer as prefix notation or postfix notation, but many programming languages use it to take advantage of its familiarity.
In infix notation, unlike in prefix or postfix notations, parentheses surrounding groups of operands and operators are necessary to indicate the intended order in which operations are to be performed. In the absence of parentheses, certain precedence rules determine the order of operations. These are explained in the order of operations article.
See also
- postfix notation, also called Reverse Polish notation
- prefix notation, also called Polish notation
External links
- RPN or DAL? A brief analysis of Reverse Polish Notation against Direct Algebraic Logic (http://www.xnumber.com/xnumber/rpn_or_adl.htm) – James Redin