[rrd-developers] ROL and ROR for RPN

Kiss Gabor (Bitman) kissg at ssg.ki.iif.hu
Mon Apr 28 09:05:51 CEST 2014


> 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



More information about the rrd-developers mailing list