> rrd use really the formula "DeLog_L,LOG,4,*" > The fractional part is lost.
You didn't say which version of RRDTool you're using; I'm assuming 1.4.x The RPN parsing happens in rrd_rpncalc.c in function rpn_parse() (called by parseCDEF_DS()) This explicitly sets locale to be "C"; then it tries to use sscanf with "%lf" which should correctly read in a decimal, regardless of your current locale using commas as a decimal separator or not. I know I've successfully used decimals in a CDEF previously, and as far as I can tell, the COMPUTE DS uses the same parsing function. Which version of RRDTool are you using? Possibly it is an older one (I think COMPUTE appeared in v1.2 back in 2001, but not sure about decimals in RPN) Steve Steve Shipway [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
