[rrd-users] Re: Calculating square root

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Jun 12 23:55:31 MEST 2002

Erik Arneson wrote:

> Is there a way to calculate the square root of a value in a CDEF?  If
> so, how is it done?

Hmm.. it seems there currently is no sqrt function.  So, to answer your
question: Yes, there is a way.  Hack the source and submit the patch.
Take an existing function, look this function up in the current source
"rrd_graph.c" (and rrd_graph.h), cut'n'paste a lot, compile et voila: a
new function is born.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list