So, assuming stptr is zero based, this means my `analysis of the behaviour of 
negative shift counts is correct.

My question, though, is more to ask if this was intended by design, or if it is 
a 'feature'?

Intuitively, I would have expected this:

CDEF:y=s,-n,x,PREDICT

to result in shifts of s, 2s, 3s, .... ns

However, it actually results in shifts of 0, s, 2s, ... (n-1)s

Either way, it can't be changed now as it would potentially alter existing 
behaviour... 

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487


_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to