| Kieli | Käännökset |
|---|---|
| suomi | presedenssi |
| Monikko | orders of operations |
(mathematics) The sequence in which the various operations in a mathematical expression are to be evaluated.
6÷2(1+2) is interpreted as 6÷(2×(1+2)) by a fx-82MS (upper), and (6÷2)×(1+2) by a TI-83 Plus calculator (lower), respectively.
(mathematics) The sequence in which the various operations in a mathematical expression are to be evaluated.
Simplified formal grammar for arithmetical expressions in a programming language (left), and derivation of the example expression (a+b)^2/2 (right). The latter corresponds to a hierarchical structure ("syntax tree") which is unique for the given expression. The compiler generates machine code from the tree in such a way that operations originating at the lowest hierarchy level are executed first.