[rrd-developers] NAN-safe ADD

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Mar 6 17:50:34 CET 2008


On Thu, Mar 06, 2008 at 10:47:48AM -0500, Steve Hill wrote:
> On Thu, Mar 06, 2008 at 06:48:32AM +0100, Tobias Oetiker wrote:
> 
> > or if you insist to make this simpler, how about implementing a
> > NANTOZERO operator ?
> 
> Wouldn't a generic 'IFNAN' operator be more useful? That way I could
> substitute any other value, as appropriate for my calculation. You
> could still get the NANORZERO with something like:
> 
> a,0,IFNAN

Take this one step further:

Wouldn't a generic IF be more useful?  You could still get NANORZERO
with something like:

a,UN,0,a,IF


Erm...

-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/



More information about the rrd-developers mailing list