<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Reverse Polish notation - Page 8 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Reverse_Polish_notation&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Reverse_Polish_notation&amp;p=9">3.Next</a>
</p>
<p>RPN. In the example 3 4 -, first the 3 is put onto the stack, then the 4; the 4 is now on top and the 3 below it. The subtraction operator removes the top two items from the stack, performs 3 - 4, and puts the result of -1 onto the stack.</p>

<p>Common language in this context refers to items being pushed onto the stack when added and popped or removed from the stack when taken off.</p>

<p>The advantage of reverse Polish notation is that it removes the need for order of operations and parentheses that are required by <a href="page.php?w=infix_notation">infix notation</a></p><p>
<a accesskey="1" href="page.php?w=Reverse_Polish_notation&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Reverse_Polish_notation&amp;p=9">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
