* @param {number} percentile * @returns {bigint}
(percentile)
| 201 | * @returns {bigint} |
| 202 | */ |
| 203 | percentileBigInt(percentile) { |
| 204 | if (!isHistogram(this)) |
| 205 | throw new ERR_INVALID_THIS('Histogram'); |
| 206 | validateNumber(percentile, 'percentile'); |
| 207 | if (NumberIsNaN(percentile) || percentile <= 0 || percentile > 100) |
| 208 | throw new ERR_OUT_OF_RANGE('percentile', '> 0 && <= 100', percentile); |
| 209 | |
| 210 | return this[kHandle]?.percentileBigInt(percentile); |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * @readonly |
no test coverage detected