----- Original Message ----- From: "Steve Shipway" <[email protected]>
To: "list rrdtool" <[email protected]>
Sent: Friday, August 29, 2014 12:06 AM
Subject: Re: [rrd-users] Empty sections in AREA on graph

This gives me the idea for some new RPN functions in RRDtool --

ROUND -- pops top element from stack, replaces with closest integer (to go
with the existing FLOOR and CEIL)

I believe there are a couple conventions to choose from.
What is the closest integer to 5.5 ?
And what is the closest integer to 6.5 ?
Some will say the answer is 6 to both questions, others will say 6 and 7.

x,a,b,INRANGE -- push TRUE onto stack if a<=x<=b, FALSE otherwise(or call it
'BETWEEN'?)

You can probably share a lot of code with LIMIT.

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to