Support double-precision data in reports; experiment with double-precision MTR data #406
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Modifications to built-in report generation machinery in cgresult.cpp provide support for double-precision data. The report scheme is table-driven with one row per report column. A new flag allows indicating that the data being accessed is double as opposed to float.
Improved generalized data access functions added to support that change.
Testing was performed by changing MTR end use data via conditional code controlled by METER_DBL (cndefns.h). Reported results were virtually identical to those with float data even for complex MTR schemes with submeters. METER_DBL left #undef'd but the conditional code retained for future experiments.
Test file submeter.cse updated to better test submeters with multipliers.