Actions
Task #5802
closedNodeValue newZero(DataType dataType)
Start date:
04/06/2015
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Published in build:
Description
A convenience method with the following signature is required:
NodeValue newZero(DataType dataType)
Methods returns "zero value" of the specified data type.
For integer, real, boolean types it returns 0, 0.0, and false
respectively (of course, embedded in NodeValue object).
For bit vector type it returns bit vector that contains only zeros.
For map type it returns map that contains only zeros too.
Updated by Sergey Smolov over 9 years ago
- Status changed from New to Closed
There is no need in this method since I've found that there is another approach in HDL for calculation of initial values of variables.
This ticket can be rejected.
Actions