[rrd-developers] Re: [rrfw-devel] RRDTool Number format

Tobias Oetiker oetiker at ee.ethz.ch
Sun Aug 31 11:13:25 MEST 2003


Yesterday Stanislav Sinyagin wrote:

> Hi Tobi,
>
> I've subscribed you to rrfw-devel list, with "no mail" option.
> Thus you can post to the list without restrictions, and
> other posts wouldn't bother you.
>
> --- Tobias Oetiker <oetiker at ee.ethz.ch> wrote:
> > counter do not return numbers in scientific notation ... they
> > return potentially large integers. so you must make sure that your
> > code does not turn them into sci notation numbers ...
> >
> > or this at least is the assumption the code is written on ...
>
> Question to Christian: how did you get those values?
>
> Question to Tobi: It would be nice to have at least DERIVE
> suitable for floating point values. Yes, COUNTER is too much
> SNMP-specific, but isn't DERIVE designed to be more generic?
>
> Besides, there's nothing written about integers in the manual...

Hi Stan

there is nothing written, but it is like that. I guess there should
be an eror generated when you try to feed non integer to counter.
For derive we might want to switch the interpretation when a non
integer is fed ... the problem with floats in scientific notation
can be that they cause us to loose precision at the low end for
large numbers and this would be fatal.

cheers
tobi
>
> Cheers,
> Stan
>
>
>
> --
> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/rrd-developers
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

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



More information about the rrd-developers mailing list