21#include <boost/io/ios_state.hpp>
33 if (percentile > 100.0) {
60 return h.highest_equivalent_value(
iter.value());
68 const auto total_count = h.total_count();
73 if (
iter.count() != 0) {
82 const int64_t total_count{h.total_count()};
88 if (
iter.count() != 0) {
98 const auto sf =
pp.h.significant_figures();
101 os <<
" Value Percentile TotalCount 1/(1-Percentile)\n\n";
104 while (
iter.next()) {
106 const double percentile{
iter.percentile() / 100.0};
107 const int64_t total_count{
iter.cumulative_count()};
112 <<
setw(11) << total_count;
115 if (percentile < 1.0) {
135 "#[Buckets = " <<
setw(12) <<
pp.h.bucket_count()
136 <<
", SubBuckets = " <<
setw(12) <<
pp.h.sub_bucket_count()