[rrd-developers] NAN-safe ADD

Timo Stripf tstripf at gmx.de
Thu Mar 6 01:44:30 CET 2008


i've implemented a nan-safe add operator (ADDNAN) into rrd. I used it 
to add several incomplete graphs.

NaN + NaN => NaN
  x + NaN => x
  NaN + y => y
  x + y => x + y

The patch is attached.

Best regards
Timo Stripf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addnan.diff
Type: application/octet-stream
Size: 2309 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20080306/0db6e388/attachment.obj 

More information about the rrd-developers mailing list