Ticket #77 (closed enhancement: fixed)
New RPN operator: ABS
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | rrd_graph | Version: | |
| Keywords: | rpn abs | Cc: |
Description
The attached patch implements an "ABS" operator that takes the absolute value of the number on the top of the stack. This is mostly a convenience operator -- the same thing can be accomplished through other means (i.e., DUP,*,SQRT) at the expense of readability.



