125 |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
126 |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
127 |
isScalarNumber() -> isNumber()). |
isScalarNumber() -> isNumber()). |
128 |
|
- NKSP VM API: Added 4 overridden methods to class VMNumberExpr: |
129 |
|
evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t), |
130 |
|
evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t) |
131 |
|
as convenient methods for automatically converting values to expected |
132 |
|
metric value basis. |
133 |
|
- Built-in function "wait()" accepts now both integers and real numbers as |
134 |
|
argument. |
135 |
|
- NKSP VM API cleanup: Get rid of legacy method |
136 |
|
VMFunction::argType(vmint iArg) which was already superseded by its new |
137 |
|
replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). |
138 |
|
- NKSP parser: if wrong argument type was passed to a built-in function and |
139 |
|
that built-in function accepts more than one data type for the argument, |
140 |
|
then show all supported data types as parser error message. |
141 |
|
|
142 |
* test cases: |
* test cases: |
143 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
156 |
'final' operator usage cases. |
'final' operator usage cases. |
157 |
- Added NKSP test cases for (floating point tolerance aware) real number |
- Added NKSP test cases for (floating point tolerance aware) real number |
158 |
equalness / unequalness comparison. |
equalness / unequalness comparison. |
159 |
|
- Added NKSP int array and real array tests for value assignment and |
160 |
|
initialization of arrays. |
161 |
|
|
162 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
163 |
|
|