dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool to write in Reverse Polish Notation RPN: a post-pifex notation which allows to write mathematical expression without parenthesis.

Answers to Questions

How to write using Reverse Polish Notation?

The NPI notation displays operands before operators. This notation implies to write operands first and then the order of operations.

Example: a × (b + c) is written a b c + ×

The program sometimes returns an error, the management of the parentheses is not complete just like the exponentiations, please excuse us, work in progress.

Who uses Reverse Polish Notation?

The notation has the advantage that it no longer uses parentheses, reducing errors, and is sometimes faster than a normal calculation. RPN is also used in some programming languages like Forth, but also in HP calculators and in some scientific computations where the gain up and computation time can be interesting.

Ask a new question

Source code

dCode retains ownership of the source code of the script Reverse Polish Notation online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Reverse Polish Notation script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK