Changeset 2804 in Sophya for trunk/SophyaLib/SysTools/rpneval.cc
- Timestamp:
- Jun 9, 2005, 5:52:03 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/rpneval.cc
r2615 r2804 15 15 Arithmetic expression (double precision float) evaluator 16 16 in Reverse Polish Notation (RPN). This is an HP calculator 17 like syntax. Space are used for separating the string17 like syntax. Spaces are used for separating the string 18 18 expression into tokens. \n 19 19 The string parsed by RPNExpressionEvaluator should be … … 23 23 The stack is limited only 24 24 by the available memory. The three numbers on the stack top 25 are referred to as <tt> x y x</tt>. \n25 are referred to as <tt> x y z </tt>. \n 26 26 Available operations: 27 27 - op= + - * / % : replace (x,y) by x.op.y
Note:
See TracChangeset
for help on using the changeset viewer.