ITWissen.info - Tech know how online

reverse polish notation (RPN)

Reverse Polish Notation(UPN), Reverse Polish Notation( RPN), is a notation for programmatic arithmetic operations. It is named after the Polish mathematician Lukasiewicz and deals with the linkage ofoperand and operator.

Example of reverse Polish notation (UPN)

Example of reverse Polish notation (UPN)

In reverse Polish notation, the operand is entered first, followed by the operator. Example (a+b)*(a-b) is written in UPN: ab+ ab- *. UPN notation makes arithmetic operations more transparent, and also saves manipulations in more complex arithmetic operations. The intermediate results must be stored in stack memories. The reverse Polish notation is used in the Forth programming language, among others.

Informations:
Englisch: reverse polish notation - RPN
Updated at: 25.01.2010
#Words: 98
Links: universal personal number (IN) (UPN), registered parameter number (RPN), notation, operator, indium (In)
Translations: DE
Sharing:    

All rights reserved DATACOM Buchverlag GmbH © 2024