forked from pyroscope/rtorrent-ps
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for basic arithmetic operators to git version #71
Labels
Milestone
Comments
Rename commands as @rakshasa suggested:
Note: Original post has been edited. |
Add 2 new commands:
Note: Original post has been edited. |
chros73
pushed a commit
that referenced
this issue
Mar 7, 2017
Add 1 new command for median:
Note: Original post has been edited. |
chros73
pushed a commit
that referenced
this issue
Mar 11, 2017
This was referenced Apr 21, 2018
zmike808
pushed a commit
to zmike808/rtorrent-ps-ch
that referenced
this issue
May 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I. Summary
Add support for basic arithmetic operators (
+
,-
,*
,/
,%
) andmin
,max
,count
,avg
,median
functions.All commands:
bash
), even/
/
,avg
,median
always round downII. New commands in rtorrent
math.add
math.sub
math.mul
math.div
math.mod
math.min
math.max
math.cnt
math.avg
math.med
III. Arithmetic operators in action
math.min
andmath.max
can be used as variable assignment based on intervals as well:The text was updated successfully, but these errors were encountered: