>[constants in the RPN are stored in doubles, but COMPUTE type DS convert
>using...]
>
>typedef struct rpn_cdefds_t {
> char op; /* rpn operator type */
> short val; /* used by OP_NUMBER and OP_VARIABLE */
>} rpn_cdefds_t;
>
>Now val is only a short int.
Well spotted! I saw the first struct used doubles, but didn't dig deeply
enough to spot this one.
I would say this is a bug; however, there might be a reason for it, if Tobi can
tell us?
Otherwise, it should probably be a double and not a short -- making a patch for
rrdtool should be simple.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]
Ph: +64 9 373 7599 ext 86487
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users