| 126 | |
| 127 | |
| 128 | void setMaxNumReportedItems(qindex numRows, qindex numCols) { |
| 129 | validate_envIsInit(__func__); |
| 130 | validate_newMaxNumReportedScalars(numRows, numCols, __func__); |
| 131 | |
| 132 | // replace 0 values (indicating no truncation) with max-val, |
| 133 | // since there can never be max(qindex)-many amps |
| 134 | qindex max = std::numeric_limits<qindex>::max(); |
| 135 | numRows = (numRows == 0)? max : numRows; |
| 136 | numCols = (numCols == 0)? max : numCols; |
| 137 | |
| 138 | printer_setMaxNumPrintedScalars(numRows, numCols); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | void setMaxNumReportedSigFigs(int numSigFigs) { |
no test coverage detected