[rrd-users] CDEF,RPN, no decimal constant possible?

Peter pspiegler at gmx.de
Thu Jul 10 18:59:37 CEST 2014

rrd use really the formula "DeLog_L,LOG,4,*" 
The fractional part is lost.
I updated a smaller rrd with some 1000 and get with dump:

But it should be 30.
The real formula is L=10*LOG10(Delog_L).
Because there is no LOG10 I used 10/LOG(10)=4.342944819

So I changed the formula to LOG(Delog_L)*10/LOG(10):

and get

It is a bug, that decimal numbers are round to integer numbers?


View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/CDEF-RPN-no-decimal-constant-possible-tp7582283p7582286.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

More information about the rrd-users mailing list