Britannica AI Icon

postfix

computer science
Also known as: reverse Polish notation

Quick Summary

Postfix notation, also known as reverse Polish notation (RPN), is a system for representing mathematical and logical operations. In this system, operands come before the operator, eliminating the need for parentheses. For example, the expression (3 + 5) - (2 + 1) is written as 3 5 + 2 1 + - in postfix notation. This method places operators after their operands, distinguishing it from infix (standard) and prefix notation. It was first used in 1957.123

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.