Re: ROL and ROR for RPN
"Kiss Gabor (Bitman)" <[email protected]> Mon, 28 Apr 2014 09:05:51 +0200 (CEST)
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
> your function always affects 3 values ... would there be any gain > in makeing this call more generic ? > > a,b,c,d,x,y,ROL rotate the last x values on the stack by y steps to > the left. and maybe have -y role to the right? IMHO it would be useful to have a look at Postcript stack manipulation operators. http://www.ugrad.math.ubc.ca/Flat/stack-ref.html Gabor