projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an...
[rrdtool.git]
/
doc
/
rpntutorial.pod
diff --git
a/doc/rpntutorial.pod
b/doc/rpntutorial.pod
index
b3beac1
..
b830f27
100644
(file)
--- a/
doc/rpntutorial.pod
+++ b/
doc/rpntutorial.pod
@@
-55,7
+55,7
@@
GT, GE and EQ operators.
While compound expressions can look overly complex, they can be
considered elegantly simple. To quickly comprehend RPN expressions,
While compound expressions can look overly complex, they can be
considered elegantly simple. To quickly comprehend RPN expressions,
-you must know the
the
algorithm for evaluating RPN expressions:
+you must know the algorithm for evaluating RPN expressions:
iterate searches from the left to the right looking for an operator.
When it's found, apply that operator by popping the operator and some
number of values (and by definition, not operators) off the stack.
iterate searches from the left to the right looking for an operator.
When it's found, apply that operator by popping the operator and some
number of values (and by definition, not operators) off the stack.
@@
-102,7
+102,7
@@
with "A":
2) A,10,input,IF eval is A,10,input,IF
read "if A then 10 else input". Now replace A with it's verbose
2) A,10,input,IF eval is A,10,input,IF
read "if A then 10 else input". Now replace A with it's verbose
-description again
g
and--voila!--you have a easily readable description
+description again and--voila!--you have a easily readable description
of the expression:
if input > 10 then 10 else input
of the expression:
if input > 10 then 10 else input