|
|
In the following example, the constant FOO is defined with an arithmetic expression and the constant FOO_PLUS_ONE is defined using FOO:
CONSTANT FOO = 1 + 2 DIV 3 + LOG2(256);
CONSTANT FOO_PLUS_ONE = FOO + 1;
In the following example, the evaluated function EX is defined with an arithmetic expression and the evaluated function CEILING_ADD is defined using EX:
DEFINE EX(a,b) = (a > b) ? a : b;
DEFINE CEILING_ADD(a,b) = EX(a,b) + 1;
|
- PLDWorld - |
|
|
| Created by chm2web html help conversion utility. |