Arithmetic evaluation: Difference between revisions
Content deleted Content added
→{{header|REXX}}: added support for unary operators (±). -- ~~~~ |
m →{{header|REXX}}: Deleted a comment from the REXX section header. -- ~~~~ |
||
Line 3,237: | Line 3,237: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
This REXX program converts the arithmetic expression into RPN and then |
|||
evaulates the RPN to a result. |
|||
<br><br>Several additional operators are supported as well as several forms of exponentiated numbers: |
<br><br>Several additional operators are supported as well as several forms of exponentiated numbers: |
||
* '''^''' as well as '''**''' |
* '''^''' as well as '''**''' |