RPNSolve Home
Here is a selection of some interesting / pointless / strange examples of how RPN can be used...
Custom Operator '
rev
' uses recursion to swap the order of digits in an integer (12345 becomes 54321)
{
rev
10 / @A int @@B A frac C + 10 * @@C B 0 <= C int ret B
rev
}
0 @@C 12345
rev