_ZN3fmt3v126detail13ignore_unusedIJbEEEvDpRKT_:
  391|     87|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1824|    724|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1796|  2.07k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1802|  2.07k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1803|  2.07k|    ptr_ = buf_data;
 1804|  2.07k|    capacity_ = buf_capacity;
 1805|  2.07k|  }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1827|  4.88k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1821|  3.61k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  550|    186|      : data_(s), size_(count) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  555|  1.63k|  FMT_CONSTEXPR basic_string_view(const Char* s) : data_(s) {
  556|  1.63k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  557|  1.63k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (557:9): [True: 0, Folded]
  |  Branch (557:44): [True: 0, Folded]
  ------------------
  558|  1.63k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  559|  1.63k|      return;
  560|  1.63k|    }
  561|      0|#endif
  562|      0|    size_t len = 0;
  563|      0|    while (*s++) ++len;
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|    size_ = len;
  565|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  476|  1.63k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  477|  1.63k|  return s;
  478|  1.63k|}
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1848|  4.37k|  FMT_CONSTEXPR void push_back(const T& value) {
 1849|  4.37k|    try_reserve(size_ + 1);
 1850|  4.37k|    ptr_[size_++] = value;
 1851|  4.37k|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1844|  7.80k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1845|  7.80k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1845:9): [True: 0, False: 7.80k]
  ------------------
 1846|  7.80k|  }
_ZN3fmt3v129format_toINSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEEEEJRdETnNS2_9enable_ifIXsr6detail18is_output_iteratorINS2_9remove_cvINS2_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESI_OSE_NS0_7fstringIJDpT0_EE1tEDpOSN_:
 2850|  1.44k|    -> remove_cvref_t<OutputIt> {
 2851|  1.44k|  return vformat_to(out, fmt.str, vargs<T...>{{args...}});
 2852|  1.44k|}
_ZN3fmt3v1210vformat_toIRNSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEEEETnNS2_9enable_ifIXsr6detail18is_output_iteratorINS2_9remove_cvINS2_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESI_OSE_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2830|  1.44k|    -> remove_cvref_t<OutputIt> {
 2831|  1.44k|  auto&& buf = detail::get_buffer<char>(out);
 2832|  1.44k|  detail::vformat_to(buf, fmt, args, {});
 2833|  1.44k|  return detail::get_iterator(buf, out);
 2834|  1.44k|}
_ZN3fmt3v126detail10get_bufferIcNSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS1_9allocatorIcEEEEEETnNS3_9enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EESB_:
 2125|  1.44k|auto get_buffer(OutputIt out) -> buffer<T>& {
 2126|  1.44k|  return get_container(out);
 2127|  1.44k|}
_ZN3fmt3v126detail13get_containerINSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS1_9allocatorIcEEEEEEEERNT_14container_typeESA_:
  511|  1.44k|    typename OutputIt::container_type& {
  512|  1.44k|  struct accessor : OutputIt {
  513|  1.44k|    constexpr accessor(OutputIt base) : OutputIt(base) {}
  514|  1.44k|    using OutputIt::container;
  515|  1.44k|  };
  516|  1.44k|  return *accessor(it).container;
  517|  1.44k|}
_ZZN3fmt3v126detail13get_containerINSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS1_9allocatorIcEEEEEEEERNT_14container_typeESA_EN8accessorC2ES9_:
  513|  1.44k|    constexpr accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v1210locale_refC2Ev:
  929|  1.44k|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail12get_iteratorIcNSt3__120back_insert_iteratorINS0_19basic_memory_bufferIcLm500ENS1_9allocatorIcEEEEEEEET0_RNS1_6bufferIT_EESA_:
 2134|  1.44k|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2135|  1.44k|  return out;
 2136|  1.44k|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ed:
 2214|  1.44k|  constexpr FMT_INLINE value(double x FMT_BUILTIN) : double_value(x) {}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi1ELi0ELy10ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_0E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2610|  1.44k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2610:23): [Folded, False: 1.44k]
  ------------------
 2611|  1.44k|        values_(s.args) {}
_ZN3fmt3v127fstringIJRdEEC2INS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr3std14is_convertibleIRKT_S6_EE5valueEiE4typeELi0EEESB_:
 2746|  1.44k|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2747|  1.44k|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|  1.44k|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 1.44k]
  |  |  ------------------
  ------------------
 2748|      0|      detail::parse_format_string<char>(str, checker(str, arg_pack()));
 2749|  1.44k|    constexpr bool unused = detail::enforce_compile_checks<sizeof(s) != 0>();
 2750|  1.44k|    (void)unused;
 2751|  1.44k|  }
_ZN3fmt3v12neENS0_17basic_string_viewIcEES2_:
  609|    186|  friend auto operator!=(basic_string_view lhs, basic_string_view rhs) -> bool {
  610|    186|    return lhs.compare(rhs) != 0;
  611|    186|  }
_ZNK3fmt3v1217basic_string_viewIcE7compareES2_:
  599|    186|  FMT_CONSTEXPR auto compare(basic_string_view other) const -> int {
  600|    186|    int cmp = detail::compare(data_, other.data_, min_of(size_, other.size_));
  601|    186|    if (cmp != 0) return cmp;
  ------------------
  |  Branch (601:9): [True: 0, False: 186]
  ------------------
  602|    186|    return size_ == other.size_ ? 0 : (size_ < other.size_ ? -1 : 1);
  ------------------
  |  Branch (602:12): [True: 186, False: 0]
  |  Branch (602:40): [True: 0, False: 0]
  ------------------
  603|    186|  }
_ZN3fmt3v126detail7compareIcEEiPKT_S5_m:
  481|    186|FMT_CONSTEXPR auto compare(const Char* s1, const Char* s2, size_t n) -> int {
  482|    186|  if (n == 0) return 0;
  ------------------
  |  Branch (482:7): [True: 0, False: 186]
  ------------------
  483|    186|  if (!is_constant_evaluated() && sizeof(Char) == 1) return memcmp(s1, s2, n);
  ------------------
  |  Branch (483:7): [True: 0, Folded]
  |  Branch (483:35): [True: 0, Folded]
  ------------------
  484|      0|  for (; n != 0; ++s1, ++s2, --n) {
  ------------------
  |  Branch (484:10): [True: 0, False: 0]
  ------------------
  485|      0|    if (*s1 < *s2) return -1;
  ------------------
  |  Branch (485:9): [True: 0, False: 0]
  ------------------
  486|      0|    if (*s1 > *s2) return 1;
  ------------------
  |  Branch (486:9): [True: 0, False: 0]
  ------------------
  487|      0|  }
  488|      0|  return 0;
  489|      0|}
_ZN3fmt3v126min_ofImEET_S2_S2_:
  377|   136k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  378|   136k|  return a < b ? a : b;
  ------------------
  |  Branch (378:10): [True: 136k, False: 186]
  ------------------
  379|   136k|}
_ZN3fmt3v126detail6bufferIcE3endEv:
 1815|  1.26k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZN3fmt3v129monostateC2Ev:
  365|  1.44k|  constexpr monostate() {}
_ZNK3fmt3v1211basic_specs4typeEv:
  751|  3.98k|  constexpr auto type() const -> presentation_type {
  752|  3.98k|    return static_cast<presentation_type>(data_ & type_mask);
  753|  3.98k|  }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  754|    724|  FMT_CONSTEXPR void set_type(presentation_type t) {
  755|    724|    data_ = (data_ & ~type_mask) | unsigned(t);
  756|    724|  }
_ZNK3fmt3v1211basic_specs5alignEv:
  758|    926|  constexpr auto align() const -> align {
  759|    926|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  760|    926|  }
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  776|    724|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  777|    724|    data_ = (data_ & ~precision_mask) | (unsigned(p) << precision_shift);
  778|    724|  }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  780|    724|  constexpr auto dynamic() const -> bool {
  781|    724|    return (data_ & (width_mask | precision_mask)) != 0;
  782|    724|  }
_ZNK3fmt3v1211basic_specs4signEv:
  784|    441|  constexpr auto sign() const -> sign {
  785|    441|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  786|    441|  }
_ZNK3fmt3v1211basic_specs5upperEv:
  791|    522|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs3altEv:
  794|  1.34k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs9localizedEv:
  798|  1.50k|  constexpr auto localized() const -> bool {
  799|  1.50k|    return (data_ & localized_mask) != 0;
  800|  1.50k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  803|    390|  constexpr auto fill_size() const -> size_t {
  804|    390|    return (data_ & fill_size_mask) >> fill_size_shift;
  805|    390|  }
_ZN3fmt3v1212format_specsC2Ev:
  854|    724|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  446|   130k|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  447|   130k|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  419|   260k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:7): [Folded, False: 130k]
  |  |  |  Branch (419:7): [True: 130k, False: 0]
  |  |  ------------------
  |  |  420|   130k|         ? (void)0                                                          \
  |  |  421|   130k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  448|   130k|  return static_cast<make_unsigned_t<Int>>(value);
  449|   130k|}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2678|    724|      : out_(out), args_(args), loc_(loc) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2583|  1.44k|  constexpr auto is_packed() const -> bool {
 2584|  1.44k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2585|  1.44k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2590|  1.44k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2591|  1.44k|    int shift = index * detail::packed_arg_bits;
 2592|  1.44k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2593|  1.44k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2594|  1.44k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2627|  1.44k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2628|  1.44k|    auto arg = format_arg();
 2629|  1.44k|    if (!is_packed()) {
  ------------------
  |  Branch (2629:9): [True: 0, False: 1.44k]
  ------------------
 2630|      0|      if (unsigned(id) < unsigned(max_size())) arg = args_[id];
  ------------------
  |  Branch (2630:11): [True: 0, False: 0]
  ------------------
 2631|      0|      return arg;
 2632|      0|    }
 2633|  1.44k|    if (unsigned(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2633:9): [True: 0, False: 1.44k]
  ------------------
 2634|  1.44k|    arg.type_ = type(id);
 2635|  1.44k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2635:9): [True: 1.44k, False: 0]
  ------------------
 2636|  1.44k|    return arg;
 2637|  1.44k|  }
_ZNK3fmt3v127context3argEi:
 2683|    724|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZNK3fmt3v127context3outEv:
 2693|  2.17k|  constexpr auto out() const -> iterator { return out_; }
_ZNK3fmt3v127context6localeEv:
 2698|    724|  constexpr auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1047|  1.44k|constexpr auto in(type t, int set) -> bool {
 1048|  1.44k|  return ((set >> int(t)) & 1) != 0;
 1049|  1.44k|}
_ZN3fmt3v126detail11parse_alignEc:
 1349|    724|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1350|    724|  switch (c) {
  ------------------
  |  Branch (1350:11): [True: 0, False: 724]
  ------------------
 1351|      0|  case '<': return align::left;
  ------------------
  |  Branch (1351:3): [True: 0, False: 724]
  ------------------
 1352|      0|  case '>': return align::right;
  ------------------
  |  Branch (1352:3): [True: 0, False: 724]
  ------------------
 1353|      0|  case '^': return align::center;
  ------------------
  |  Branch (1353:3): [True: 0, False: 724]
  ------------------
 1354|    724|  }
 1355|    724|  return align::none;
 1356|    724|}
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  446|  1.94k|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  447|  1.94k|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  419|  3.88k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:7): [Folded, False: 1.94k]
  |  |  |  Branch (419:7): [True: 1.94k, False: 0]
  |  |  ------------------
  |  |  420|  1.94k|         ? (void)0                                                          \
  |  |  421|  1.94k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  448|  1.94k|  return static_cast<make_unsigned_t<Int>>(value);
  449|  1.94k|}
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  574|  1.44k|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  575|  2.17k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v1214basic_appenderIcEppEi:
 2480|  3.10k|  FMT_CONSTEXPR auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2478|  3.10k|  FMT_CONSTEXPR auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2474|  3.10k|  FMT_CONSTEXPR auto operator=(T c) -> basic_appender& {
 2475|  3.10k|    container->push_back(c);
 2476|  3.10k|    return *this;
 2477|  3.10k|  }
_ZN3fmt3v126max_ofIiEET_S2_S2_:
  380|    629|template <typename T> constexpr auto max_of(T a, T b) -> T {
  381|    629|  return a > b ? a : b;
  ------------------
  |  Branch (381:10): [True: 0, False: 629]
  ------------------
  382|    629|}
_ZNK3fmt3v126detail6bufferIjEixIiEERKjT_:
 1879|   519k|  constexpr auto operator[](Idx index) const -> const T& {
 1880|   519k|    return ptr_[index];
 1881|   519k|  }
_ZN3fmt3v126detail6bufferIjEixIiEERjT_:
 1875|  1.37M|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1876|  1.37M|    return ptr_[index];
 1877|  1.37M|  }
_ZNK3fmt3v126detail6bufferIjE4sizeEv:
 1821|  1.38M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIjE11try_reserveEm:
 1844|   138k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1845|   138k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1845:9): [True: 0, False: 138k]
  ------------------
 1846|   138k|  }
_ZN3fmt3v126detail6bufferIjE10try_resizeEm:
 1835|   134k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1836|   134k|    try_reserve(count);
 1837|   134k|    size_ = min_of(count, capacity_);
 1838|   134k|  }
_ZNK3fmt3v126detail6bufferIjEixImEERKjT_:
 1879|   578k|  constexpr auto operator[](Idx index) const -> const T& {
 1880|   578k|    return ptr_[index];
 1881|   578k|  }
_ZN3fmt3v126detail6bufferIjEixImEERjT_:
 1875|   866k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1876|   866k|    return ptr_[index];
 1877|   866k|  }
_ZN3fmt3v126detail6bufferIjE9push_backERKj:
 1848|  4.38k|  FMT_CONSTEXPR void push_back(const T& value) {
 1849|  4.38k|    try_reserve(size_ + 1);
 1850|  4.38k|    ptr_[size_++] = value;
 1851|  4.38k|  }
_ZN3fmt3v126detail6bufferIjE3setEPjm:
 1802|  5.88k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1803|  5.88k|    ptr_ = buf_data;
 1804|  5.88k|    capacity_ = buf_capacity;
 1805|  5.88k|  }
_ZNK3fmt3v126detail6bufferIjE4dataEv:
 1828|    401|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail6bufferIjE4dataEv:
 1827|  13.1k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail4copyIjPKjPjTnNSt3__19enable_ifIXoontcvNS1_23is_back_insert_iteratorIT1_NS6_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendIS9_T0_vEE_EcvNS1_10has_insertIS9_SE_vEE_EEiE4typeELi0EEES9_SE_SE_S9_:
 1948|    401|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1949|  6.22k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1949:10): [True: 5.82k, False: 401]
  ------------------
 1950|    401|  return out;
 1951|    401|}
_ZN3fmt3v126min_ofIiEET_S2_S2_:
  377|  2.45k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  378|  2.45k|  return a < b ? a : b;
  ------------------
  |  Branch (378:10): [True: 1.02k, False: 1.42k]
  ------------------
  379|  2.45k|}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1835|  1.98k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1836|  1.98k|    try_reserve(count);
 1837|  1.98k|    size_ = min_of(count, capacity_);
 1838|  1.98k|  }
_ZN3fmt3v126detail6bufferIcEixIiEERcT_:
 1875|  31.7k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1876|  31.7k|    return ptr_[index];
 1877|  31.7k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  511|  4.11k|    typename OutputIt::container_type& {
  512|  4.11k|  struct accessor : OutputIt {
  513|  4.11k|    constexpr accessor(OutputIt base) : OutputIt(base) {}
  514|  4.11k|    using OutputIt::container;
  515|  4.11k|  };
  516|  4.11k|  return *accessor(it).container;
  517|  4.11k|}
_ZN3fmt3v126detail6bufferIcEixImEERcT_:
 1875|  5.22k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1876|  5.22k|    return ptr_[index];
 1877|  5.22k|  }
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1312|  2.17k|constexpr auto to_ascii(Char c) -> char {
 1313|  2.17k|  return c <= 0xff ? char(c) : '\0';
  ------------------
  |  Branch (1313:10): [True: 2.17k, False: 0]
  ------------------
 1314|  2.17k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1491|    724|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1492|    724|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1492:11): [True: 0, False: 724]
  |  Branch (1492:33): [True: 0, False: 724]
  ------------------
 1493|      0|        report_error("invalid format specifier");
 1494|    724|      current_state = s;
 1495|    724|    }
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt0_clENS0_17presentation_typeEi:
 1505|    724|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1506|    724|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1506:11): [True: 0, False: 724]
  ------------------
 1507|    724|      specs.set_type(pres_type);
 1508|    724|      return begin + 1;
 1509|    724|    }
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1328|    724|                                         int error_value) noexcept -> int {
 1329|    724|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  419|  2.89k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:7): [True: 724, False: 0]
  |  |  |  Branch (419:7): [True: 724, False: 0]
  |  |  |  Branch (419:7): [True: 724, False: 0]
  |  |  ------------------
  |  |  420|    724|         ? (void)0                                                          \
  |  |  421|    724|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1330|    724|  unsigned value = 0, prev = 0;
 1331|    724|  auto p = begin;
 1332|  1.44k|  do {
 1333|  1.44k|    prev = value;
 1334|  1.44k|    value = value * 10 + unsigned(*p - '0');
 1335|  1.44k|    ++p;
 1336|  1.44k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1336:12): [True: 1.44k, False: 0]
  |  Branch (1336:24): [True: 1.44k, False: 0]
  |  Branch (1336:37): [True: 724, False: 724]
  ------------------
 1337|    724|  auto num_digits = p - begin;
 1338|    724|  begin = p;
 1339|    724|  int digits10 = int(sizeof(int) * CHAR_BIT * 3 / 10);
 1340|    724|  if (num_digits <= digits10) return int(value);
  ------------------
  |  Branch (1340:7): [True: 724, False: 0]
  ------------------
 1341|       |  // Check for overflow.
 1342|      0|  unsigned max = INT_MAX;
 1343|      0|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1343:10): [True: 0, False: 0]
  ------------------
 1344|      0|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1344:18): [True: 0, False: 0]
  ------------------
 1345|      0|             ? int(value)
 1346|      0|             : error_value;
 1347|    724|}
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2445|    724|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2446|       |  // Argument id is only checked at compile time during parsing because
 2447|       |  // formatting has its own validation.
 2448|    724|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2448:7): [Folded, False: 724]
  |  Branch (2448:42): [True: 0, Folded]
  ------------------
 2449|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2450|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2450:9): [True: 0, False: 0]
  ------------------
 2451|      0|  }
 2452|    724|}
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  892|    724|  FMT_CONSTEXPR auto next_arg_id() -> int {
  893|    724|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (893:9): [True: 0, False: 724]
  ------------------
  894|      0|      report_error("cannot switch from manual to automatic argument indexing");
  895|      0|      return 0;
  896|      0|    }
  897|    724|    int id = next_arg_id_++;
  898|    724|    do_check_arg_id(id);
  899|    724|    return id;
  900|    724|  }
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1418|    724|    -> parse_dynamic_spec_result<Char> {
 1419|    724|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  419|    724|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 724, False: 0]
  |  |  ------------------
  |  |  420|    724|         ? (void)0                                                          \
  |  |  421|    724|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1420|    724|  auto kind = arg_id_kind::none;
 1421|    724|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1421:7): [True: 724, False: 0]
  |  Branch (1421:24): [True: 724, False: 0]
  ------------------
 1422|    724|    int val = parse_nonnegative_int(begin, end, -1);
 1423|    724|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1423:9): [True: 0, False: 724]
  ------------------
 1424|    724|    value = val;
 1425|    724|  } else {
 1426|      0|    if (*begin == '{') {
  ------------------
  |  Branch (1426:9): [True: 0, False: 0]
  ------------------
 1427|      0|      ++begin;
 1428|      0|      if (begin != end) {
  ------------------
  |  Branch (1428:11): [True: 0, False: 0]
  ------------------
 1429|      0|        Char c = *begin;
 1430|      0|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1430:13): [True: 0, False: 0]
  |  Branch (1430:25): [True: 0, False: 0]
  ------------------
 1431|      0|          int id = ctx.next_arg_id();
 1432|      0|          ref = id;
 1433|      0|          kind = arg_id_kind::index;
 1434|      0|          ctx.check_dynamic_spec(id);
 1435|      0|        } else {
 1436|      0|          begin = parse_arg_id(begin, end,
 1437|      0|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1438|      0|        }
 1439|      0|      }
 1440|      0|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1440:11): [True: 0, False: 0]
  |  Branch (1440:27): [True: 0, False: 0]
  ------------------
 1441|      0|    }
 1442|      0|    report_error("invalid format string");
 1443|      0|  }
 1444|    724|  return {begin, kind};
 1445|    724|}
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1460|    724|                                   parse_context<Char>& ctx) -> const Char* {
 1461|    724|  ++begin;
 1462|    724|  if (begin == end) {
  ------------------
  |  Branch (1462:7): [True: 0, False: 724]
  ------------------
 1463|      0|    report_error("invalid precision");
 1464|      0|    return begin;
 1465|      0|  }
 1466|    724|  auto result =
 1467|    724|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1468|    724|  specs.set_dynamic_precision(result.kind);
 1469|    724|  return result.end;
 1470|    724|}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1479|    724|    -> const Char* {
 1480|    724|  auto c = '\0';
 1481|    724|  if (end - begin > 1) {
  ------------------
  |  Branch (1481:7): [True: 724, False: 0]
  ------------------
 1482|    724|    auto next = to_ascii(begin[1]);
 1483|    724|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1483:9): [True: 724, False: 0]
  ------------------
 1484|    724|  } else {
 1485|      0|    if (begin == end) return begin;
  ------------------
  |  Branch (1485:9): [True: 0, False: 0]
  ------------------
 1486|      0|    c = to_ascii(*begin);
 1487|      0|  }
 1488|       |
 1489|    724|  struct {
 1490|    724|    state current_state = state::start;
 1491|    724|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1492|    724|      if (current_state >= s || !valid)
 1493|    724|        report_error("invalid format specifier");
 1494|    724|      current_state = s;
 1495|    724|    }
 1496|    724|  } enter_state;
 1497|       |
 1498|    724|  using pres = presentation_type;
 1499|    724|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1500|    724|  struct {
 1501|    724|    const Char*& begin;
 1502|    724|    format_specs& specs;
 1503|    724|    type arg_type;
 1504|       |
 1505|    724|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1506|    724|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1507|    724|      specs.set_type(pres_type);
 1508|    724|      return begin + 1;
 1509|    724|    }
 1510|    724|  } parse_presentation_type{begin, specs, arg_type};
 1511|       |
 1512|  1.44k|  for (;;) {
 1513|  1.44k|    switch (c) {
 1514|      0|    case '<':
  ------------------
  |  Branch (1514:5): [True: 0, False: 1.44k]
  ------------------
 1515|      0|    case '>':
  ------------------
  |  Branch (1515:5): [True: 0, False: 1.44k]
  ------------------
 1516|      0|    case '^':
  ------------------
  |  Branch (1516:5): [True: 0, False: 1.44k]
  ------------------
 1517|      0|      enter_state(state::align);
 1518|      0|      specs.set_align(parse_align(c));
 1519|      0|      ++begin;
 1520|      0|      break;
 1521|      0|    case '+':
  ------------------
  |  Branch (1521:5): [True: 0, False: 1.44k]
  ------------------
 1522|      0|    case ' ':
  ------------------
  |  Branch (1522:5): [True: 0, False: 1.44k]
  ------------------
 1523|      0|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1523:22): [True: 0, False: 0]
  ------------------
 1524|      0|      FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
 1525|      0|    case '-':
  ------------------
  |  Branch (1525:5): [True: 0, False: 1.44k]
  ------------------
 1526|      0|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1527|      0|      ++begin;
 1528|      0|      break;
 1529|      0|    case '#':
  ------------------
  |  Branch (1529:5): [True: 0, False: 1.44k]
  ------------------
 1530|      0|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1531|      0|      specs.set_alt();
 1532|      0|      ++begin;
 1533|      0|      break;
 1534|      0|    case '0':
  ------------------
  |  Branch (1534:5): [True: 0, False: 1.44k]
  ------------------
 1535|      0|      enter_state(state::zero);
 1536|      0|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1536:11): [True: 0, False: 0]
  ------------------
 1537|      0|        report_error("format specifier requires numeric argument");
 1538|      0|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1538:11): [True: 0, False: 0]
  ------------------
 1539|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1540|      0|        specs.set_align(align::numeric);
 1541|      0|        specs.set_fill('0');
 1542|      0|      }
 1543|      0|      ++begin;
 1544|      0|      break;
 1545|       |      // clang-format off
 1546|      0|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1546:5): [True: 0, False: 1.44k]
  |  Branch (1546:15): [True: 0, False: 1.44k]
  |  Branch (1546:25): [True: 0, False: 1.44k]
  |  Branch (1546:35): [True: 0, False: 1.44k]
  |  Branch (1546:45): [True: 0, False: 1.44k]
  ------------------
 1547|      0|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1547:5): [True: 0, False: 1.44k]
  |  Branch (1547:15): [True: 0, False: 1.44k]
  |  Branch (1547:25): [True: 0, False: 1.44k]
  |  Branch (1547:35): [True: 0, False: 1.44k]
  |  Branch (1547:45): [True: 0, False: 1.44k]
  ------------------
 1548|       |      // clang-format on
 1549|      0|      enter_state(state::width);
 1550|      0|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1551|      0|      break;
 1552|    724|    case '.':
  ------------------
  |  Branch (1552:5): [True: 724, False: 724]
  ------------------
 1553|    724|      enter_state(state::precision,
 1554|    724|                  in(arg_type, float_set | string_set | cstring_set));
 1555|    724|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1556|    724|      break;
 1557|      0|    case 'L':
  ------------------
  |  Branch (1557:5): [True: 0, False: 1.44k]
  ------------------
 1558|      0|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1559|      0|      specs.set_localized();
 1560|      0|      ++begin;
 1561|      0|      break;
 1562|      0|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1562:5): [True: 0, False: 1.44k]
  ------------------
 1563|      0|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1563:5): [True: 0, False: 1.44k]
  ------------------
 1564|      0|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1564:5): [True: 0, False: 1.44k]
  ------------------
 1565|      0|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1565:5): [True: 0, False: 1.44k]
  ------------------
 1566|      0|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1566:5): [True: 0, False: 1.44k]
  ------------------
 1567|      0|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1567:5): [True: 0, False: 1.44k]
  ------------------
 1568|      0|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1568:5): [True: 0, False: 1.44k]
  ------------------
 1569|      0|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1569:5): [True: 0, False: 1.44k]
  ------------------
 1570|      0|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1570:5): [True: 0, False: 1.44k]
  ------------------
 1571|      0|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1571:5): [True: 0, False: 1.44k]
  ------------------
 1572|      0|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1572:5): [True: 0, False: 1.44k]
  ------------------
 1573|    724|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1573:5): [True: 724, False: 724]
  ------------------
 1574|      0|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  194|      0|#  define FMT_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  |  Branch (1574:5): [True: 0, False: 1.44k]
  ------------------
 1575|      0|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1575:5): [True: 0, False: 1.44k]
  ------------------
 1576|      0|    case 'c':
  ------------------
  |  Branch (1576:5): [True: 0, False: 1.44k]
  ------------------
 1577|      0|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1577:11): [True: 0, False: 0]
  ------------------
 1578|      0|      return parse_presentation_type(pres::chr, integral_set);
 1579|      0|    case 's':
  ------------------
  |  Branch (1579:5): [True: 0, False: 1.44k]
  ------------------
 1580|      0|      return parse_presentation_type(pres::string,
 1581|      0|                                     bool_set | string_set | cstring_set);
 1582|      0|    case 'p':
  ------------------
  |  Branch (1582:5): [True: 0, False: 1.44k]
  ------------------
 1583|      0|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1584|      0|    case '?':
  ------------------
  |  Branch (1584:5): [True: 0, False: 1.44k]
  ------------------
 1585|      0|      return parse_presentation_type(pres::debug,
 1586|      0|                                     char_set | string_set | cstring_set);
 1587|      0|    case '}': return begin;
  ------------------
  |  Branch (1587:5): [True: 0, False: 1.44k]
  ------------------
 1588|      0|    default:  {
  ------------------
  |  Branch (1588:5): [True: 0, False: 1.44k]
  ------------------
 1589|      0|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1589:11): [True: 0, False: 0]
  ------------------
 1590|       |      // Parse fill and alignment.
 1591|      0|      auto fill_end = begin + code_point_length(begin);
 1592|      0|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1592:11): [True: 0, False: 0]
  ------------------
 1593|      0|        report_error("invalid format specifier");
 1594|      0|        return begin;
 1595|      0|      }
 1596|      0|      if (*begin == '{') {
  ------------------
  |  Branch (1596:11): [True: 0, False: 0]
  ------------------
 1597|      0|        report_error("invalid fill character '{'");
 1598|      0|        return begin;
 1599|      0|      }
 1600|      0|      auto alignment = parse_align(to_ascii(*fill_end));
 1601|      0|      enter_state(state::align, alignment != align::none);
 1602|      0|      specs.set_fill(
 1603|      0|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1604|      0|      specs.set_align(alignment);
 1605|      0|      begin = fill_end + 1;
 1606|      0|    }
 1607|  1.44k|    }
 1608|    724|    if (begin == end) return begin;
  ------------------
  |  Branch (1608:9): [True: 0, False: 724]
  ------------------
 1609|    724|    c = to_ascii(*begin);
 1610|    724|  }
 1611|    724|}
_ZNK3fmt3v126detail6bufferIjE8capacityEv:
 1824|  3.37k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail4copyIjPjS3_TnNSt3__19enable_ifIXoontcvNS1_23is_back_insert_iteratorIT1_NS4_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendIS7_T0_vEE_EcvNS1_10has_insertIS7_SC_vEE_EEiE4typeELi0EEES7_SC_SC_S7_:
 1948|  3.37k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1949|  12.3k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1949:10): [True: 8.95k, False: 3.37k]
  ------------------
 1950|  3.37k|  return out;
 1951|  3.37k|}
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1855|  2.66k|  FMT_CONSTEXPR20 void append(const U* begin, const U* end) {
 1856|  2.66k|    static_assert(std::is_same<T, U>() || std::is_same<U, char>(), "");
 1857|  3.88k|    while (begin != end) {
  ------------------
  |  Branch (1857:12): [True: 1.21k, False: 2.66k]
  ------------------
 1858|  1.21k|      auto size = size_;
 1859|  1.21k|      auto free_cap = capacity_ - size;
 1860|  1.21k|      auto count = to_unsigned(end - begin);
 1861|  1.21k|      if (free_cap < count) {
  ------------------
  |  Branch (1861:11): [True: 0, False: 1.21k]
  ------------------
 1862|      0|        grow_(*this, size + count);
 1863|      0|        size = size_;
 1864|      0|        free_cap = capacity_ - size;
 1865|      0|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1865:17): [True: 0, False: 0]
  ------------------
 1866|      0|      }
 1867|       |      // A loop is faster than memcpy on small sizes.
 1868|  1.21k|      T* out = ptr_ + size;
 1869|  28.3k|      for (size_t i = 0; i < count; ++i) out[i] = static_cast<T>(begin[i]);
  ------------------
  |  Branch (1869:26): [True: 27.1k, False: 1.21k]
  ------------------
 1870|  1.21k|      size_ += count;
 1871|  1.21k|      begin += count;
 1872|  1.21k|    }
 1873|  2.66k|  }
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2472|  1.44k|  constexpr basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2507|  1.44k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2190|  1.44k|  constexpr FMT_INLINE value() : no_value() {}
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2525|    724|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2526|    724|    using detail::map;
 2527|    724|    switch (type_) {
  ------------------
  |  Branch (2527:13): [True: 724, False: 0]
  ------------------
 2528|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2528:5): [True: 0, False: 724]
  ------------------
 2529|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2529:5): [True: 0, False: 724]
  ------------------
 2530|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2530:5): [True: 0, False: 724]
  ------------------
 2531|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2531:5): [True: 0, False: 724]
  ------------------
 2532|      0|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2532:5): [True: 0, False: 724]
  ------------------
 2533|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2533:5): [True: 0, False: 724]
  ------------------
 2534|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2534:5): [True: 0, False: 724]
  ------------------
 2535|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2535:5): [True: 0, False: 724]
  ------------------
 2536|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2536:5): [True: 0, False: 724]
  ------------------
 2537|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2537:5): [True: 0, False: 724]
  ------------------
 2538|    724|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2538:5): [True: 724, False: 0]
  ------------------
 2539|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2539:5): [True: 0, False: 724]
  ------------------
 2540|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2540:5): [True: 0, False: 724]
  ------------------
 2541|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2541:5): [True: 0, False: 724]
  ------------------
 2542|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2542:5): [True: 0, False: 724]
  ------------------
 2543|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2543:5): [True: 0, False: 724]
  ------------------
 2544|    724|    }
 2545|      0|    return vis(monostate());
 2546|    724|  }
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  513|  4.11k|    constexpr accessor(OutputIt base) : OutputIt(base) {}
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  816|     94|  template <typename Char> constexpr auto fill_unit() const -> Char {
  817|     94|    using uchar = unsigned char;
  818|     94|    return Char(uchar(fill_data_[0]) | uchar(fill_data_[1]) << 8 |
  819|     94|                uchar(fill_data_[2]) << 16);
  820|     94|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaacvNS1_23is_back_insert_iteratorIT1_NS7_17integral_constantIbLb1EEEEE_EcvNS1_10has_appendISA_T0_vEE_EEiE4typeELi0EEESA_SF_SF_SA_:
 1929|  2.66k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1930|  2.66k|  get_container(out).append(begin, end);
 1931|  2.66k|  return out;
 1932|  2.66k|}
_ZN3fmt3v126detail6bufferIjEC2EPFvRS3_mEPjmm:
 1796|  5.88k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1662|    724|                                       Handler&& handler) {
 1663|    724|  auto begin = fmt.data(), end = begin + fmt.size();
 1664|    724|  auto p = begin;
 1665|  1.44k|  while (p != end) {
  ------------------
  |  Branch (1665:10): [True: 724, False: 724]
  ------------------
 1666|    724|    auto c = *p++;
 1667|    724|    if (c == '{') {
  ------------------
  |  Branch (1667:9): [True: 724, False: 0]
  ------------------
 1668|    724|      handler.on_text(begin, p - 1);
 1669|    724|      begin = p = parse_replacement_field(p - 1, end, handler);
 1670|    724|    } else if (c == '}') {
  ------------------
  |  Branch (1670:16): [True: 0, False: 0]
  ------------------
 1671|      0|      if (p == end || *p != '}')
  ------------------
  |  Branch (1671:11): [True: 0, False: 0]
  |  Branch (1671:23): [True: 0, False: 0]
  ------------------
 1672|      0|        return handler.on_error("unmatched '}' in format string");
 1673|      0|      handler.on_text(begin, p);
 1674|      0|      begin = ++p;
 1675|      0|    }
 1676|    724|  }
 1677|    724|  handler.on_text(begin, end);
 1678|    724|}
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1617|    724|    -> const Char* {
 1618|    724|  ++begin;
 1619|    724|  if (begin == end) {
  ------------------
  |  Branch (1619:7): [True: 0, False: 724]
  ------------------
 1620|      0|    handler.on_error("invalid format string");
 1621|      0|    return end;
 1622|      0|  }
 1623|    724|  int arg_id = 0;
 1624|    724|  switch (*begin) {
 1625|      0|  case '}':
  ------------------
  |  Branch (1625:3): [True: 0, False: 724]
  ------------------
 1626|      0|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1627|      0|    return begin + 1;
 1628|      0|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1628:3): [True: 0, False: 724]
  ------------------
 1629|    724|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1629:3): [True: 724, False: 0]
  ------------------
 1630|      0|  default:  {
  ------------------
  |  Branch (1630:3): [True: 0, False: 724]
  ------------------
 1631|      0|    struct id_adapter {
 1632|      0|      Handler& handler;
 1633|      0|      int arg_id;
 1634|       |
 1635|      0|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1636|      0|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1637|      0|        arg_id = handler.on_arg_id(id);
 1638|      0|      }
 1639|      0|    } adapter = {handler, 0};
 1640|      0|    begin = parse_arg_id(begin, end, adapter);
 1641|      0|    arg_id = adapter.arg_id;
 1642|      0|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1642:14): [True: 0, False: 0]
  ------------------
 1643|      0|    if (c == '}') {
  ------------------
  |  Branch (1643:9): [True: 0, False: 0]
  ------------------
 1644|      0|      handler.on_replacement_field(arg_id, begin);
 1645|      0|      return begin + 1;
 1646|      0|    }
 1647|      0|    if (c != ':') {
  ------------------
  |  Branch (1647:9): [True: 0, False: 0]
  ------------------
 1648|      0|      handler.on_error("missing '}' in format string");
 1649|      0|      return end;
 1650|      0|    }
 1651|      0|    break;
 1652|      0|  }
 1653|    724|  }
 1654|    724|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1655|    724|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1655:7): [True: 0, False: 724]
  |  Branch (1655:23): [True: 0, False: 724]
  ------------------
 1656|      0|    return handler.on_error("unknown format specifier"), end;
 1657|    724|  return begin + 1;
 1658|    724|}
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2514|    724|  constexpr explicit operator bool() const noexcept {
 2515|    724|    return type_ != detail::type::none_type;
 2516|    724|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2550|    724|      -> bool {
 2551|    724|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2551:9): [True: 724, False: 0]
  ------------------
 2552|      0|    parse_ctx.advance_to(parse_begin);
 2553|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2554|      0|    return true;
 2555|    724|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1295|  1.44k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2517|    724|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2525|    724|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2526|    724|    using detail::map;
 2527|    724|    switch (type_) {
  ------------------
  |  Branch (2527:13): [True: 724, False: 0]
  ------------------
 2528|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2528:5): [True: 0, False: 724]
  ------------------
 2529|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2529:5): [True: 0, False: 724]
  ------------------
 2530|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2530:5): [True: 0, False: 724]
  ------------------
 2531|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2531:5): [True: 0, False: 724]
  ------------------
 2532|      0|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2532:5): [True: 0, False: 724]
  ------------------
 2533|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2533:5): [True: 0, False: 724]
  ------------------
 2534|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2534:5): [True: 0, False: 724]
  ------------------
 2535|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2535:5): [True: 0, False: 724]
  ------------------
 2536|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2536:5): [True: 0, False: 724]
  ------------------
 2537|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2537:5): [True: 0, False: 724]
  ------------------
 2538|    724|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2538:5): [True: 724, False: 0]
  ------------------
 2539|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2539:5): [True: 0, False: 724]
  ------------------
 2540|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2540:5): [True: 0, False: 724]
  ------------------
 2541|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2541:5): [True: 0, False: 724]
  ------------------
 2542|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2542:5): [True: 0, False: 724]
  ------------------
 2543|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2543:5): [True: 0, False: 724]
  ------------------
 2544|    724|    }
 2545|      0|    return vis(monostate());
 2546|    724|  }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  876|    724|      : fmt_(fmt), next_arg_id_(next_arg_id) {}

_ZN3fmt3v126detail11format_zmijEdRibRNS1_6bufferIcEES2_:
 1966|    629|                          buffer<char>& buf, int& exp) -> bool {
 1967|    629|  using traits = zmij::detail::float_traits<double>;
 1968|    629|  auto bits = traits::to_bits(value);
 1969|    629|  auto bin_exp = traits::get_exp(bits);
 1970|    629|  auto bin_sig = traits::get_sig(bits);
 1971|    629|  if (bin_exp == 0) zmij::detail::normalize<double>(bin_sig, bin_exp);
  ------------------
  |  Branch (1971:7): [True: 158, False: 471]
  ------------------
 1972|    629|  bin_exp -= traits::exp_offset;
 1973|    629|  bin_sig |= traits::implicit_bit;
 1974|       |
 1975|    629|  uint64_t dec_sig = 0;  // The digits zero-padded to 18.
 1976|    629|  if (!fixed && precision <= 18) {
  ------------------
  |  Branch (1976:7): [True: 629, False: 0]
  |  Branch (1976:17): [True: 0, False: 629]
  ------------------
 1977|      0|    auto dec = zmij::to_decimal<double>(bin_sig, int(bin_exp), precision);
 1978|      0|    dec_sig = dec.sig;
 1979|      0|    exp = dec.lead_exp + 1 - precision;
 1980|    629|  } else {
 1981|       |    // Scale to 18 significant digits to find the exponent of the first one.
 1982|    629|    int dec_exp =
 1983|    629|        zmij::detail::compute_dec_exp(int(bin_exp + traits::num_sig_bits)) - 17;
 1984|    629|    auto scaled = zmij::scale<double>(bin_sig, int(bin_exp), dec_exp);
 1985|    629|    int num_scaled_digits = 18 + (scaled.integral >= zmij::pow10s[18]);
 1986|    629|    int lead_exp = dec_exp + num_scaled_digits - 1;
 1987|    629|    if (fixed) adjust_precision(precision, lead_exp + 1);
  ------------------
  |  Branch (1987:9): [True: 0, False: 629]
  ------------------
 1988|    629|    if (precision > 18) {
  ------------------
  |  Branch (1988:9): [True: 629, False: 0]
  ------------------
 1989|    629|      exp = lead_exp;
 1990|    629|      return false;
 1991|    629|    }
 1992|       |
 1993|      0|    bool has_fraction = (scaled.fraction | scaled.fraction_tail) != 0;
 1994|      0|    if (precision <= 0) {
  ------------------
  |  Branch (1994:9): [True: 0, False: 0]
  ------------------
 1995|       |      // No digits are kept, so the value rounds to 0 or, if precision is 0 and
 1996|       |      // it is above half of 10^(lead_exp + 1), up to that. A 19-digit scale
 1997|       |      // starts with 1 and is never above half.
 1998|      0|      exp = lead_exp + 1;
 1999|      0|      if (precision == 0) {
  ------------------
  |  Branch (1999:11): [True: 0, False: 0]
  ------------------
 2000|      0|        uint64_t half = 5 * zmij::pow10s[17];
 2001|      0|        bool round_up = num_scaled_digits == 18 &&
  ------------------
  |  Branch (2001:25): [True: 0, False: 0]
  ------------------
 2002|      0|                        (half < scaled.integral ||
  ------------------
  |  Branch (2002:26): [True: 0, False: 0]
  ------------------
 2003|      0|                         (half == scaled.integral && has_fraction));
  ------------------
  |  Branch (2003:27): [True: 0, False: 0]
  |  Branch (2003:54): [True: 0, False: 0]
  ------------------
 2004|      0|        buf.push_back(round_up ? '1' : '0');
  ------------------
  |  Branch (2004:23): [True: 0, False: 0]
  ------------------
 2005|      0|      }
 2006|      0|      return true;
 2007|      0|    }
 2008|       |
 2009|      0|    if (precision < num_scaled_digits) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|      uint64_t pow = zmij::pow10s[num_scaled_digits - precision];
 2011|      0|      dec_sig = scaled.integral / pow;
 2012|      0|      uint64_t remainder = scaled.integral - dec_sig * pow;
 2013|      0|      uint64_t half = pow / 2;
 2014|      0|      dec_sig += half < remainder ||
  ------------------
  |  Branch (2014:18): [True: 0, False: 0]
  ------------------
 2015|      0|                 (half == remainder && (has_fraction || (dec_sig & 1) != 0));
  ------------------
  |  Branch (2015:19): [True: 0, False: 0]
  |  Branch (2015:41): [True: 0, False: 0]
  |  Branch (2015:57): [True: 0, False: 0]
  ------------------
 2016|      0|    } else {
 2017|      0|      dec_sig = zmij::round_even(scaled);
 2018|      0|    }
 2019|      0|    exp = lead_exp + 1 - precision;
 2020|      0|    if (dec_sig >= zmij::pow10s[precision]) {
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|       |      // Rounding carried into a new digit, e.g. 9.99 to 10.00.
 2022|      0|      dec_sig = zmij::pow10s[17];
 2023|      0|      ++precision;
 2024|      0|    } else {
 2025|      0|      dec_sig *= zmij::pow10s[18 - precision];
 2026|      0|    }
 2027|      0|  }
 2028|       |
 2029|      0|  if (precision <= 8) {
  ------------------
  |  Branch (2029:7): [True: 0, False: 0]
  ------------------
 2030|      0|    buf.try_resize(8);
 2031|      0|    auto dig =
 2032|      0|        zmij::to_digits<32>(dec_sig / zmij::pow10s[10], zmij::static_data);
 2033|      0|    memcpy(buf.data(), &dig.digits, 8);
 2034|      0|  } else {
 2035|      0|    buf.try_resize(19);
 2036|      0|    auto hi = zmij::to_digits<64>(dec_sig / 100, zmij::static_data);
 2037|      0|    memcpy(buf.data(), &hi.digits, 16);
 2038|      0|    memcpy(buf.data() + 16, zmij::digits2(static_cast<unsigned>(dec_sig % 100)),
 2039|      0|           2);
 2040|      0|    buf[18] = '0';
 2041|      0|  }
 2042|      0|  buf.try_resize(to_unsigned(precision));
 2043|      0|  return true;
 2044|    629|}
_ZN3fmt3v126detail10vformat_toERNS1_6bufferIcEENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEENS0_10locale_refE:
 2094|  1.44k|                         locale_ref loc) {
 2095|  1.44k|  auto out = appender(buf);
 2096|  1.44k|  if (fmt.size() == 2 && equal2(fmt.data(), "{}"))
  ------------------
  |  Branch (2096:7): [True: 724, False: 724]
  |  Branch (2096:26): [True: 724, False: 0]
  ------------------
 2097|    724|    return args.get(0).visit(default_arg_formatter<char>{out});
 2098|    724|  parse_format_string(fmt,
 2099|    724|                      format_handler<>{parse_context<>(fmt), {out, args, loc}});
 2100|    724|}
_ZN3fmt3v124zmij6detail5writeIdEEPcS4_T_:
 1318|    724|auto write(char* buffer, Float value) noexcept -> char* {
 1319|    724|  using traits = float_traits<Float>;
 1320|    724|  auto bits = traits::to_bits(value);
 1321|    724|  auto bin_exp = traits::get_exp(bits);  // binary exponent
 1322|    724|  auto bin_sig = traits::get_sig(bits);  // binary significand
 1323|       |
 1324|    724|  *buffer = '-';
 1325|    724|  buffer += traits::is_negative(bits);
 1326|       |
 1327|    724|  const auto* d = &static_data;
 1328|    724|  FMT_ZMIJ_ASM(("" : "+r"(d)));  // Load constants from memory.
  ------------------
  |  |  335|    724|#  define FMT_ZMIJ_ASM(x) asm x
  ------------------
 1329|    724|  uint64_t threshold = traits::num_bits == 64 ? d->threshold : uint64_t(1e7);
  ------------------
  |  Branch (1329:24): [True: 724, Folded]
  ------------------
 1330|       |
 1331|    724|  shortest_decimal dec;
 1332|    724|  if FMT_ZMIJ_UNLIKELY (!traits::is_normal(bin_exp)) {
  ------------------
  |  |  320|    724|#  define FMT_ZMIJ_UNLIKELY(x) (__builtin_expect(!!(x), 0))
  |  |  ------------------
  |  |  |  Branch (320:33): [True: 253, False: 471]
  |  |  ------------------
  ------------------
 1333|    253|    if (bin_exp != 0) return write_inf_nan(buffer, bin_sig != 0);
  ------------------
  |  Branch (1333:9): [True: 94, False: 159]
  ------------------
 1334|    159|    if (bin_sig == 0) {
  ------------------
  |  Branch (1334:9): [True: 1, False: 158]
  ------------------
 1335|      1|      *buffer = '0';
 1336|      1|      return buffer + 1;
 1337|      1|    }
 1338|    158|    dec = zmij::to_decimal<Float>(bin_sig, 1, true, *d);
 1339|       |    // to_decimal's power of ten comes from the exponent alone, so a subnormal
 1340|       |    // significand comes out short; clz estimates its length within a digit, and
 1341|       |    // dec.sig is 0 for the smallest subnormals, which are all last digit.
 1342|    158|    int num_digits = compute_dec_exp(63 - clz(dec.sig | 1)) + (dec.sig != 0);
 1343|    158|    num_digits += dec.sig >= pow10s[num_digits];
 1344|    158|    int num_zeros = traits::max_digits10 - 3 - num_digits;
 1345|    158|    if (num_zeros >= 0) {
  ------------------
  |  Branch (1345:9): [True: 90, False: 68]
  ------------------
 1346|       |      // Padding dec_sig, a digit longer than dec.sig, absorbs the last digit.
 1347|     90|      uint64_t dec_sig =
 1348|     90|          dec.sig * 10 + uint64_t(-int(dec.has_last_digit) & dec.last_digit);
 1349|     90|      dec = {dec_sig * pow10s[num_zeros], dec.exp - num_zeros - 1, 0, false};
 1350|     90|    }
 1351|    471|  } else {
 1352|    471|    dec = zmij::to_decimal<Float>(bin_sig | traits::implicit_bit, bin_exp,
 1353|    471|                                  bin_sig != 0, *d);
 1354|    471|  }
 1355|    629|  bool has_last_digit = dec.has_last_digit;
 1356|    629|  bool has_extra_digit = dec.sig >= threshold;
 1357|    629|  int dec_exp = dec.exp + traits::max_digits10 - 2 + has_extra_digit;
 1358|    629|  if FMT_ZMIJ_UNLIKELY (traits::num_bits == 32 && dec.sig < uint32_t(1e6)) {
  ------------------
  |  |  320|    629|#  define FMT_ZMIJ_UNLIKELY(x) (__builtin_expect(!!(x), 0))
  |  |  ------------------
  |  |  |  Branch (320:33): [Folded, False: 629]
  |  |  |  Branch (320:53): [Folded, False: 629]
  |  |  |  Branch (320:53): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1359|      0|    dec.sig = 10 * dec.sig + uint64_t(-int(has_last_digit) & dec.last_digit);
 1360|      0|    has_last_digit = false;
 1361|      0|    --dec_exp;
 1362|      0|  }
 1363|       |
 1364|    629|  auto dig = to_digits<traits::num_bits>(dec.sig, *d);
 1365|       |
 1366|    629|  if (traits::num_bits == 32 && float_shuffle_table::enable) {
  ------------------
  |  Branch (1366:7): [Folded, False: 629]
  |  Branch (1366:33): [Folded, False: 0]
  ------------------
 1367|      0|    return write_float_simd(buffer, dig, dec.last_digit, has_last_digit,
 1368|      0|                            has_extra_digit, dec_exp, *d);
 1369|      0|  }
 1370|       |
 1371|       |  // Write significand/fixed.
 1372|    629|  char* start = buffer;
 1373|    629|  constexpr int bcd_size = traits::num_bits == 64 ? 16 : 8;
  ------------------
  |  Branch (1373:28): [True: 0, Folded]
  ------------------
 1374|    629|  if (dec_exp >= traits::min_fixed_dec_exp &&
  ------------------
  |  Branch (1374:7): [True: 324, False: 305]
  ------------------
 1375|    324|      dec_exp <= traits::max_fixed_dec_exp) {
  ------------------
  |  Branch (1375:7): [True: 145, False: 179]
  ------------------
 1376|    145|    memcpy(start, &zeros, 8);  // For dec_exp < 0.
 1377|    145|    char last_digit = char('0' + (-int(has_last_digit) & dec.last_digit));
 1378|    145|    int num_digits = int(select(has_last_digit, bcd_size, dig.num_digits - 1));
 1379|       |
 1380|       |    // Materialize the base early so the entry address is `base + idx*32`;
 1381|       |    // otherwise Clang folds the offset in and adds a cycle to the idx chain.
 1382|    145|    const auto* fixed_layouts = &d->fixed_layouts;
 1383|    145|    if (FMT_ZMIJ_AARCH64) FMT_ZMIJ_ASM(("" : "+r"(fixed_layouts)));
  ------------------
  |  |   60|    145|#  define FMT_ZMIJ_AARCH64 0
  |  |  ------------------
  |  |  |  Branch (60:28): [Folded, False: 145]
  |  |  ------------------
  ------------------
                  if (FMT_ZMIJ_AARCH64) FMT_ZMIJ_ASM(("" : "+r"(fixed_layouts)));
  ------------------
  |  |  335|      0|#  define FMT_ZMIJ_ASM(x) asm x
  ------------------
 1384|       |
 1385|    145|    fixed_layout_table::entry scratch;
 1386|    145|    const auto& layout = fixed_layouts->get(dec_exp, scratch);
 1387|    145|    buffer += layout.start_pos;
 1388|       |#if FMT_ZMIJ_USE_SSE4_1
 1389|       |    if (bcd_size == 16) {
 1390|       |      auto& digits = reinterpret_cast<const __m128i&>(dig.digits);
 1391|       |      __m128i tbl = _mm_load_si128(m128ptr(&layout.shuffle[has_extra_digit]));
 1392|       |      __m128i out = _mm_shuffle_epi8(digits, tbl);
 1393|       |      memcpy(buffer, &out, bcd_size);  // Store the assembled digits in one go.
 1394|       |      // The point can push BCD[15] outside the vector to buffer[16], so write
 1395|       |      // it unconditionally (otherwise it's in-vector or overwritten below).
 1396|       |      buffer[bcd_size] = char(_mm_extract_epi8(digits, 15));
 1397|       |      start[layout.point_pos] = '.';
 1398|       |      buffer[layout.last_digit_pos[has_extra_digit]] = last_digit;
 1399|       |      return buffer + layout.end_pos[num_digits + has_extra_digit - 1];
 1400|       |    }
 1401|       |#endif  // FMT_ZMIJ_USE_SSE4_1
 1402|    145|    write_digits(buffer, dig.digits, !has_extra_digit, *d);
 1403|    145|    buffer[bcd_size + has_extra_digit - 1] = last_digit;
 1404|    145|    unsigned point_pos = layout.point_pos;
 1405|    145|    memmove(start + layout.shift_pos, start + point_pos, bcd_size);
 1406|    145|    start[point_pos] = '.';
 1407|    145|    return buffer + layout.end_pos[num_digits + has_extra_digit - 1];
 1408|    145|  }
 1409|       |
 1410|    484|  buffer += has_extra_digit;
 1411|    484|  memcpy(buffer, &dig.digits, bcd_size);
 1412|    484|  buffer[bcd_size] = char('0' + dec.last_digit);
 1413|    484|  buffer += select(has_last_digit, bcd_size + 1, dig.num_digits);
 1414|    484|  start[0] = start[1];
 1415|    484|  start[1] = '.';
 1416|    484|  buffer -= (buffer - 1 == start + 1);  // Remove trailing point.
 1417|       |
 1418|       |  // Write exponent.
 1419|    484|  if (exp_string_table::enable) {
  ------------------
  |  Branch (1419:7): [True: 484, Folded]
  ------------------
 1420|    484|    uint64_t exp_data = d->exp_strings.data[dec_exp + exp_string_table::offset];
 1421|    484|    int len = int(exp_data >> 56);
 1422|    484|    if (is_big_endian) exp_data = byteswap(exp_data);
  ------------------
  |  Branch (1422:9): [Folded, False: 484]
  ------------------
 1423|    484|    memcpy(buffer, &exp_data, traits::max_exponent10 >= 100 ? 8 : 4);
  ------------------
  |  Branch (1423:31): [True: 484, Folded]
  ------------------
 1424|    484|    return buffer + len;
 1425|    484|  }
 1426|      0|  return write_exp<Float>(buffer, dec_exp);
 1427|    484|}
_ZN3fmt3v124zmij10to_bcd_4x4EDv2_xRKNS1_4dataE:
  775|    629|FMT_INLINE auto to_bcd_4x4(__m128i y, const data& d) noexcept -> __m128i {
  776|    629|  const __m128i div100 = _mm_load_si128(m128ptr(&d.div100));
  777|    629|  const __m128i div10 = _mm_load_si128(m128ptr(&d.div10));
  778|       |#  if FMT_ZMIJ_USE_SSE4_1
  779|       |  const __m128i neg100 = _mm_load_si128(m128ptr(&d.neg100));
  780|       |  const __m128i neg10 = _mm_load_si128(m128ptr(&d.neg10));
  781|       |
  782|       |  // _mm_mullo_epi32 is SSE 4.1
  783|       |  __m128i z = _mm_add_epi32(
  784|       |      y,
  785|       |      _mm_mullo_epi32(neg100, _mm_srli_epi32(_mm_mulhi_epu16(y, div100), 3)));
  786|       |  return _mm_add_epi16(z, _mm_mullo_epi16(neg10, _mm_mulhi_epu16(z, div10)));
  787|       |#  else
  788|    629|  const __m128i hundred = _mm_load_si128(m128ptr(&d.hundred));
  789|    629|  const __m128i moddiv10 = _mm_load_si128(m128ptr(&d.moddiv10));
  790|       |
  791|    629|  __m128i y_div_100 = _mm_srli_epi16(_mm_mulhi_epu16(y, div100), 3);
  792|    629|  __m128i y_mod_100 = _mm_sub_epi16(y, _mm_mullo_epi16(y_div_100, hundred));
  793|    629|  __m128i z = _mm_or_si128(_mm_slli_epi32(y_mod_100, 16), y_div_100);
  794|    629|  return _mm_sub_epi16(_mm_slli_epi16(z, 8),
  795|    629|                       _mm_mullo_epi16(moddiv10, _mm_mulhi_epu16(z, div10)));
  796|    629|#  endif  // FMT_ZMIJ_USE_SSE4_1
  797|    629|}
_ZN3fmt3v126detail6equal2EPKcS3_:
 2089|    724|inline auto equal2(const char* lhs, const char* rhs) -> bool {
 2090|    724|  return memcmp(lhs, rhs, 2) == 0;
 2091|    724|}
_ZN3fmt3v124zmij6selectEmll:
  109|    629|                       int64_t false_value) -> int64_t {
  110|       |  // Clang can figure it out on its own.
  111|    629|  if (!FMT_ZMIJ_X86_64 || FMT_CLANG_VERSION)
  ------------------
  |  |  270|  1.25k|#  define FMT_ZMIJ_X86_64 1
  ------------------
                if (!FMT_ZMIJ_X86_64 || FMT_CLANG_VERSION)
  ------------------
  |  |   28|      0|#  define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
  |  |  ------------------
  |  |  |  Branch (28:29): [True: 0, Folded]
  |  |  ------------------
  ------------------
  |  Branch (111:7): [Folded, False: 0]
  ------------------
  112|    629|    return condition ? true_value : false_value;
  ------------------
  |  Branch (112:12): [True: 259, False: 370]
  ------------------
  113|      0|  FMT_ZMIJ_ASM(
  ------------------
  |  |  335|      0|#  define FMT_ZMIJ_ASM(x) asm x
  ------------------
  114|      0|      volatile("test %2, %2\n\t"
  115|      0|               "cmovne %1, %0\n\t" :  //
  116|      0|               "+r"(false_value) : "r"(true_value),
  117|      0|               "r"(condition) : "cc"));
  118|      0|  return false_value;
  119|    629|}
_ZNK3fmt3v124zmij18fixed_layout_table3getEiRNS2_5entryE:
  577|    145|      -> const entry& {
  578|    145|    constexpr auto min = traits::min_fixed_dec_exp;
  579|    145|    assert(dec_exp >= min && dec_exp <= traits::max_fixed_dec_exp);
  ------------------
  |  Branch (579:5): [True: 145, False: 0]
  |  Branch (579:5): [True: 145, False: 0]
  |  Branch (579:5): [True: 145, False: 0]
  ------------------
  580|    145|    if (!enable) return scratch = compute(dec_exp);
  ------------------
  |  Branch (580:9): [Folded, False: 145]
  ------------------
  581|    145|    return data[unsigned(dec_exp - min)];
  582|    145|  }
_ZN3fmt3v124zmij12write_digitsEPcDv2_xbRKNS1_4dataE:
  976|    145|                             bool drop_leading_zero, const data& d) noexcept {
  977|    145|  if (!FMT_ZMIJ_USE_NEON && !FMT_ZMIJ_USE_SSE4_1) {
  ------------------
  |  |  285|    290|#  define FMT_ZMIJ_USE_NEON 0
  ------------------
                if (!FMT_ZMIJ_USE_NEON && !FMT_ZMIJ_USE_SSE4_1) {
  ------------------
  |  |  311|      0|#  define FMT_ZMIJ_USE_SSE4_1 0
  ------------------
  |  Branch (977:7): [True: 0, Folded]
  |  Branch (977:29): [True: 0, Folded]
  ------------------
  978|    145|    (void)d;
  979|    145|    memcpy(buffer, &digits, sizeof(digits));
  980|    145|    memmove(buffer, buffer + drop_leading_zero, sizeof(digits));
  981|    145|    return;
  982|    145|  }
  983|       |#if FMT_ZMIJ_USE_NEON
  984|       |  uint8x16_t shuffle = vld1q_u8(d.shift_shuffle + drop_leading_zero);
  985|       |  uint8x16_t shifted = vqtbl1q_u8(vreinterpretq_u8_u16(digits), shuffle);
  986|       |  vst1q_u8(reinterpret_cast<uint8_t*>(buffer), shifted);
  987|       |#elif FMT_ZMIJ_USE_SSE4_1
  988|       |  __m128i shuffle = _mm_loadu_si128(
  989|       |      reinterpret_cast<const __m128i*>(d.shift_shuffle + drop_leading_zero));
  990|       |  _mm_storeu_si128(reinterpret_cast<__m128i*>(buffer),
  991|       |                   _mm_shuffle_epi8(digits, shuffle));
  992|       |#endif
  993|    145|}
_ZNK3fmt3v124zmij23pow10_significand_tableixEi:
  308|  1.25k|  FMT_CONSTEXPR20 auto operator[](int dec_exp) const noexcept -> uint128 {
  309|  1.25k|    constexpr int dec_exp_min = -307;
  310|  1.25k|    int i = dec_exp - dec_exp_min;
  311|  1.25k|    if (compress) return zmij::detail::compute_pow10(dec_exp);
  ------------------
  |  Branch (311:9): [Folded, False: 1.25k]
  ------------------
  312|  1.25k|    if (!split_tables) {
  ------------------
  |  Branch (312:9): [True: 1.25k, Folded]
  ------------------
  313|  1.25k|      const uint64_t* p = data + i * 2;
  314|  1.25k|      return {p[0], p[1]};
  315|  1.25k|    }
  316|       |    // The caller passes -e - 1 as dec_exp, so ~dec_exp recovers e. Picking the
  317|       |    // base so that e itself is the index lets both loads share sxtw addressing.
  318|      0|    const uint64_t* p = data + num_pow10s + dec_exp_min;
  319|      0|    if (!zmij::detail::is_constant_evaluated()) FMT_ZMIJ_ASM(("" : "+r"(p)));
  ------------------
  |  |  335|      0|#  define FMT_ZMIJ_ASM(x) asm x
  ------------------
  |  Branch (319:9): [True: 0, Folded]
  ------------------
  320|      0|    return {p[~dec_exp], p[~dec_exp + num_pow10s]};
  321|  1.25k|  }
_ZN3fmt3v124zmij5scaleIdEENS1_12scaled_valueEmii:
 1214|    629|    -> scaled_value {
 1215|    629|  constexpr int shift = 64 - float_traits<Float>::digits;
 1216|    629|  int point_shift = shift - compute_exp_shift(bin_exp, dec_exp);
 1217|    629|  assert(point_shift >= 1 && point_shift < 64);
  ------------------
  |  Branch (1217:3): [True: 629, False: 0]
  |  Branch (1217:3): [True: 629, False: 0]
  |  Branch (1217:3): [True: 629, False: 0]
  ------------------
 1218|    629|  uint128 pow10 = static_data.pow10_significands[-dec_exp];
 1219|    629|  uint128 p = umul192_hi128(pow10.hi, pow10.lo + 1, uint64_t(bin_sig) << shift);
 1220|    629|  return {p.hi >> point_shift, p.hi << (64 - point_shift), p.lo};
 1221|    629|}
_ZN3fmt3v124zmij9to_digitsILi64EEENS1_10dec_digitsIXT_EEEmRKNS1_4dataE:
  892|    629|    -> dec_digits<num_bits> {
  893|       |#if !FMT_ZMIJ_USE_NEON && !FMT_ZMIJ_USE_SSE
  894|       |  (void)d;
  895|       |  uint32_t hi = uint32_t(value / 100000000);
  896|       |  uint32_t lo = uint32_t(value % 100000000);
  897|       |  auto hi_bcd = to_bcd8(hi);
  898|       |  if (lo == 0) return {{zeros, hi_bcd.bcd + zeros}, hi_bcd.len};
  899|       |  auto lo_bcd = to_bcd8(lo);
  900|       |  return {{lo_bcd.bcd + zeros, hi_bcd.bcd + zeros}, 8 + lo_bcd.len};
  901|       |#elif FMT_ZMIJ_USE_NEON
  902|       |  auto unshuffled_digits = to_unshuffled_digits(value, d);
  903|       |  uint8x16_t digits = vrev64q_u8(unshuffled_digits);
  904|       |  uint16x8_t str = vaddq_u16(vreinterpretq_u16_u8(digits),
  905|       |                             vreinterpretq_u16_s8(vdupq_n_s8('0')));
  906|       |  uint16x8_t is_not_zero =
  907|       |      vreinterpretq_u16_u8(vcgtzq_s8(vreinterpretq_s8_u8(digits)));
  908|       |  uint64_t nonzero_mask =
  909|       |      vget_lane_u64(vreinterpret_u64_u8(vshrn_n_u16(is_not_zero, 4)), 0);
  910|       |  return {str, 16 - (clz(nonzero_mask) >> 2)};
  911|       |#else  // FMT_ZMIJ_USE_SSE
  912|    629|  uint32_t hi = uint32_t(value / 100000000);
  913|    629|  uint32_t lo = uint32_t(value % 100000000);
  914|       |
  915|    629|  const __m128i div10k = _mm_load_si128(m128ptr(&d.div10k));
  916|    629|  const __m128i neg10k = _mm_load_si128(m128ptr(&d.neg10k));
  917|    629|  __m128i x = _mm_set_epi64x(hi, lo);
  918|    629|  __m128i y = _mm_add_epi64(
  919|    629|      x, _mm_mul_epu32(neg10k,
  920|    629|                       _mm_srli_epi64(_mm_mul_epu32(x, div10k), div10k_exp)));
  921|       |
  922|       |  // Shuffle to ensure correctly ordered result from SSE2 path.
  923|    629|  if (!FMT_ZMIJ_USE_SSE4_1) y = _mm_shuffle_epi32(y, _MM_SHUFFLE(0, 1, 2, 3));
  ------------------
  |  |  311|    629|#  define FMT_ZMIJ_USE_SSE4_1 0
  ------------------
  |  Branch (923:7): [True: 629, Folded]
  ------------------
  924|       |
  925|    629|  __m128i bcd = to_bcd_4x4(y, d);
  926|       |
  927|       |  // Computed against current bcd (rather than the post-bswap bcd) so the mask
  928|       |  // is derived in parallel with the shuffle on the SSE4.1 path.
  929|    629|  uint64_t mask =
  930|    629|      uint64_t(_mm_movemask_epi8(_mm_cmpgt_epi8(bcd, _mm_setzero_si128())));
  931|       |  // Trailing zeros are in the low bits for SSE4.1, the high bits for SSE2.
  932|    629|  int len = FMT_ZMIJ_USE_SSE4_1 ? 16 - ctz(mask) : 64 - clz(mask);
  ------------------
  |  |  311|    629|#  define FMT_ZMIJ_USE_SSE4_1 0
  |  |  ------------------
  |  |  |  Branch (311:31): [Folded, False: 629]
  |  |  ------------------
  ------------------
  933|       |#  if FMT_ZMIJ_USE_SSE4_1
  934|       |  bcd = _mm_shuffle_epi8(bcd, _mm_load_si128(m128ptr(&d.bswap)));  // SSSE3
  935|       |#  endif
  936|    629|  return {_mm_or_si128(bcd, _mm_load_si128(m128ptr(&d.zeros))), len};
  937|    629|#endif  // FMT_ZMIJ_USE_SSE
  938|    629|}
_ZN3fmt3v124zmij16umul128_add_hi64Emmm:
  148|     95|    -> uint64_t {
  149|     95|#if FMT_USE_INT128
  150|     95|  return uint64_t((uint128_t(x) * y + c) >> 64);
  151|       |#else
  152|       |  auto p = umul128(x, y);
  153|       |  return p.hi + (p.lo + c < p.lo);
  154|       |#endif
  155|     95|}
_ZN3fmt3v124zmij12umul128_hi64Emm:
  142|     95|    -> uint64_t {
  143|     95|  return uint64_t(umul128(x, y) >> 64);
  144|     95|}
_ZN3fmt3v124zmij10to_decimalIdmEENS1_16shortest_decimalET0_lbRKNS1_4dataE:
 1095|    629|                           const data& d) noexcept -> shortest_decimal {
 1096|    629|  using traits = float_traits<Float>;
 1097|    629|  int64_t bin_exp = raw_exp - traits::exp_offset;
 1098|    629|  constexpr int num_bits = std::numeric_limits<UInt>::digits;
 1099|    629|  constexpr int extra_shift = exp_shift_table::extra_shift;
 1100|       |
 1101|    629|  if FMT_ZMIJ_UNLIKELY (!regular) {
  ------------------
  |  |  320|    629|#  define FMT_ZMIJ_UNLIKELY(x) (__builtin_expect(!!(x), 0))
  |  |  ------------------
  |  |  |  Branch (320:33): [True: 95, False: 534]
  |  |  ------------------
  ------------------
 1102|     95|    int dec_exp = compute_dec_exp(int(bin_exp), false);
 1103|     95|    signed char exp_shift =
 1104|     95|        compute_exp_shift(int(bin_exp), dec_exp + 1);  // [-2, 1]
 1105|     95|    uint128 pow10 = d.pow10_significands[-dec_exp - 1];
 1106|       |    // bin_sig is just the implicit bit, so multiplying pow10 by it is a shift.
 1107|     95|    unsigned char frac_shift = uint8_t(exp_shift + traits::num_sig_bits);
 1108|     95|    uint64_t fractional = pow10.hi << frac_shift;
 1109|       |    // For float, pow10.hi alone suffices, as checked for every power of two.
 1110|     95|    if (num_bits == 64) fractional |= pow10.lo >> (64 - frac_shift);
  ------------------
  |  Branch (1110:9): [True: 95, Folded]
  ------------------
 1111|       |
 1112|     95|    uint64_t half_ulp = pow10.hi >> (1 - exp_shift);
 1113|       |    // The value is half_ulp * 2**(num_sig_bits + 1) in units of 2**-64.
 1114|     95|    uint64_t integral = half_ulp >> (63 - traits::num_sig_bits);
 1115|     95|    bool round_up = half_ulp > ~uint64_t(0) - fractional;
 1116|     95|    bool round_down = (half_ulp >> 1) > fractional;
 1117|     95|    integral += round_up;
 1118|       |
 1119|     95|    int digit = int(umul128_add_hi64(fractional, 10, (uint64_t(1) << 63) - 1));
 1120|       |    // ceil(y * 10 / 2**64) for y = fractional - half_ulp / 2, as floor + 1:
 1121|       |    // they differ only for y = 0 or 2**63, which no power of two hits.
 1122|     95|    int lo = int(umul128_hi64(fractional - (half_ulp >> 1), 10)) + 1;
 1123|     95|    if (digit < lo) digit = lo;
  ------------------
  |  Branch (1123:9): [True: 32, False: 63]
  ------------------
 1124|     95|    return {integral, dec_exp, digit, (round_up + round_down) == 0};
 1125|     95|  }
 1126|       |
 1127|    534|  constexpr uint64_t log10_2_sig = 78913;
 1128|    534|  constexpr int log10_2_exp = 18;
 1129|    534|  int dec_exp = use_umul128_hi64
  ------------------
  |  Branch (1129:17): [Folded, False: 534]
  ------------------
 1130|    534|                    ? int(umul128_hi64(uint64_t(bin_exp),
 1131|      0|                                       log10_2_sig << (64 - log10_2_exp)))
 1132|    534|                    : compute_dec_exp(int(bin_exp));
 1133|       |  // Force 32-bit reg for sxtw addressing. GCC on AArch64 does it unforced
 1134|       |  // and is faster without the barrier.
 1135|    534|  if (FMT_CLANG_VERSION || !FMT_ZMIJ_AARCH64)
  ------------------
  |  |   28|  1.06k|#  define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
  |  |  ------------------
  |  |  |  Branch (28:29): [True: 534, Folded]
  |  |  ------------------
  ------------------
                if (FMT_CLANG_VERSION || !FMT_ZMIJ_AARCH64)
  ------------------
  |  |   60|      0|#  define FMT_ZMIJ_AARCH64 0
  ------------------
  |  Branch (1135:28): [True: 0, Folded]
  ------------------
 1136|    534|    FMT_ZMIJ_ASM(("" : "+r"(dec_exp)));
  ------------------
  |  |  335|    534|#  define FMT_ZMIJ_ASM(x) asm x
  ------------------
 1137|    534|  unsigned char shift = uint8_t(
 1138|    534|      exp_shift_table::enable
  ------------------
  |  Branch (1138:7): [True: 534, Folded]
  ------------------
 1139|    534|          ? d.exp_shifts.data[bin_exp + float_traits<double>::exp_offset]
 1140|    534|          : compute_exp_shift(int(bin_exp), dec_exp + 1) + extra_shift);
 1141|    534|  uint64_t even = 1 - (bin_sig & 1);
 1142|       |
 1143|    534|  if (num_bits == 32) {
  ------------------
  |  Branch (1143:7): [Folded, False: 534]
  ------------------
 1144|      0|    constexpr int float_extra_shift = 32;
 1145|      0|    shift = uint8_t(shift + float_extra_shift - exp_shift_table::extra_shift);
 1146|      0|    uint64_t pow10_hi = d.pow10_significands[-dec_exp - 1].hi;
 1147|      0|    uint64_t p = umul128_hi64(pow10_hi + 1, uint64_t(bin_sig) << shift);
 1148|       |
 1149|      0|    uint64_t integral = p >> float_extra_shift;
 1150|       |    // 32 bits suffice for the rounding checks, as float-check verifies.
 1151|      0|    uint32_t fractional = uint32_t(p);
 1152|       |
 1153|       |    // Fits: shift is at most 32, so pow10_hi >> (65 - shift) < 2**31.
 1154|      0|    uint32_t half_ulp = uint32_t((pow10_hi >> (65 - shift)) + even);
 1155|      0|    bool round_up = uint32_t(fractional + half_ulp) < fractional;
 1156|      0|    bool round_down = half_ulp > fractional;
 1157|      0|    integral += round_up;
 1158|       |
 1159|      0|    uint32_t offset = d.float_digit_offsets[fractional >> 28];
 1160|      0|    int digit = int(uint32_t(fractional + offset) >> 28);
 1161|      0|    return {integral, dec_exp, digit, (round_up + round_down) == 0};
 1162|      0|  }
 1163|       |
 1164|       |  // An optimization by Xiang JunBo:
 1165|       |  // Scale by 10**(-dec_exp-1) to directly produce the shorter candidate
 1166|       |  // (15-16 digits), deriving the extra digit from the fractional part.
 1167|       |  // This eliminates division by 10 from the critical path.
 1168|       |  //
 1169|       |  // value = 5.0507837461e-27
 1170|       |  // next  = 5.0507837461000010e-27
 1171|       |  //
 1172|       |  // c = integral.fractional' = 5050783746100000.3153987... (value)
 1173|       |  //                            5050783746100001.0328635... (next)
 1174|       |  //                 half_ulp =                0.3587324...
 1175|       |  //
 1176|       |  // fractional = fractional' * 2**64 = 5818079786399166407
 1177|       |  //
 1178|       |  //    5050783746100000.0       c                        5050783746100001.0
 1179|       |  //            d0             d1|  u1                            u0
 1180|       |  // ──┬────┬────┼────┬────┬────┼*───┼────┬────┬────┬────┬────┬────┼─*──┬───
 1181|       |  //  .8   .9   .0   .1   .2   .3   .4   .5   .6   .7   .8   .9   .0 | .1
 1182|       |  //           └─────────────────┬─────────────────┘                next
 1183|       |  //                            1ulp
 1184|       |  //
 1185|       |  // d0 - shorter underestimate, u0 - shorter overestimate
 1186|       |  // d1 - longer underestimate,  u1 - longer overestimate
 1187|    534|  uint128 pow10 = d.pow10_significands[-dec_exp - 1];
 1188|    534|  uint128 p = umul192_hi128(pow10.hi, pow10.lo, bin_sig << shift);
 1189|       |
 1190|    534|  uint64_t integral = p.hi >> extra_shift;
 1191|    534|  uint64_t fractional = p.hi << (64 - extra_shift) | p.lo >> extra_shift;
 1192|       |
 1193|    534|  uint64_t half_ulp = (pow10.hi >> (extra_shift + 1 - shift)) + even;
 1194|    534|  bool round_up = fractional + half_ulp < fractional;
 1195|    534|  bool round_down = half_ulp > fractional;
 1196|    534|  integral += round_up;  // Compute integral before digit.
 1197|       |
 1198|       |  // Derive the extra digit from the fractional part (parallel with rounding),
 1199|       |  // indexing digit_offsets by its top 4 bits, read from p.hi alone.
 1200|    534|  uint64_t offset = d.digit_offsets[(p.hi >> (extra_shift - 4)) & 15];
 1201|    534|  int digit = int((fractional + offset) >> 60);
 1202|    534|  return {integral, dec_exp, digit, (round_up + round_down) == 0};
 1203|    534|}

_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
 2348|  2.07k|      : detail::buffer<T>(grow), alloc_(alloc) {
 2349|  2.07k|    this->set(store_, SIZE);
 2350|  2.07k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (2350:9): [Folded, False: 2.07k]
  ------------------
 2351|  2.07k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
 1601|     87|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
 1602|     87|  ignore_unused(condition);
 1603|     87|#ifdef FMT_FUZZ
 1604|     87|  if (condition) throw std::runtime_error("fuzzing limit reached");
  ------------------
  |  Branch (1604:7): [True: 0, False: 87]
  ------------------
 1605|     87|#endif
 1606|     87|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
 2352|  2.07k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
 2307|  2.07k|  FMT_CONSTEXPR20 void deallocate() {
 2308|  2.07k|    T* data = this->data();
 2309|  2.07k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (2309:9): [True: 0, False: 2.07k]
  ------------------
 2310|  2.07k|  }
_ZN3fmt3v126detail3clzEj:
  190|    593|FMT_CONSTEXPR20 inline auto clz(uint32_t x) -> int {
  191|    593|  FMT_ASSERT(x != 0, "");
  ------------------
  |  |  419|    593|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 593, False: 0]
  |  |  ------------------
  |  |  420|    593|         ? (void)0                                                          \
  |  |  421|    593|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  192|    593|  if (!is_constant_evaluated()) {
  ------------------
  |  Branch (192:7): [True: 593, Folded]
  ------------------
  193|       |    // GCC before 10 has the clz builtins but not __has_builtin.
  194|    593|#if FMT_HAS_BUILTIN(__builtin_clz) || defined(__GNUC__)
  195|    593|    return __builtin_clz(x);
  196|       |#elif FMT_MSC_VERSION
  197|       |    unsigned long r;
  198|       |    _BitScanReverse(&r, x);
  199|       |    return 31 ^ static_cast<int>(r);
  200|       |#endif
  201|    593|  }
  202|      0|  int n = 32;
  203|      0|  for (; x != 0; x >>= 1) --n;
  ------------------
  |  Branch (203:10): [True: 0, False: 0]
  ------------------
  204|      0|  return n;
  205|    593|}
_ZN3fmt3v126detail3clzEm:
  207|    945|FMT_CONSTEXPR20 inline auto clz(uint64_t x) -> int {
  208|    945|  FMT_ASSERT(x != 0, "");
  ------------------
  |  |  419|    945|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 945, False: 0]
  |  |  ------------------
  |  |  420|    945|         ? (void)0                                                          \
  |  |  421|    945|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  209|    945|  if (!is_constant_evaluated()) {
  ------------------
  |  Branch (209:7): [True: 945, Folded]
  ------------------
  210|    945|#if FMT_HAS_BUILTIN(__builtin_clzll) || defined(__GNUC__)
  211|    945|    return __builtin_clzll(x);
  212|       |#elif defined(_M_AMD64) && defined(__AVX2__)
  213|       |    // Use lzcnt only on AVX2-capable CPUs that have this BMI instruction.
  214|       |    return static_cast<int>(__lzcnt64(x));
  215|       |#elif defined(_M_AMD64) || defined(_M_ARM64)
  216|       |    unsigned long r;
  217|       |    _BitScanReverse64(&r, x);
  218|       |    return 63 ^ static_cast<int>(r);
  219|       |#elif FMT_MSC_VERSION
  220|       |    unsigned long r;
  221|       |    if (_BitScanReverse(&r, static_cast<uint32_t>(x >> 32)))
  222|       |      return 31 ^ static_cast<int>(r);
  223|       |    _BitScanReverse(&r, static_cast<uint32_t>(x));
  224|       |    return 63 ^ static_cast<int>(r);
  225|       |#endif
  226|    945|  }
  227|      0|  int n = 64;
  228|      0|  for (; x != 0; x >>= 1) --n;
  ------------------
  |  Branch (228:10): [True: 0, False: 0]
  ------------------
  229|      0|  return n;
  230|    945|}
_ZN3fmt3v124zmij6detail7uint128C2Emm:
  414|  2.42k|  constexpr uint128(uint64_t h, uint64_t l) noexcept : lo(l), hi(h) {}
_ZN3fmt3v124zmij6detail7umul128Emm:
  484|  2.42k|    -> uint128_t {
  485|  2.42k|#if FMT_USE_INT128
  486|  2.42k|  return uint128_t(x) * y;
  487|       |#else
  488|       |#  if FMT_USE_IS_CONSTANT_EVALUATED && defined(_M_AMD64)
  489|       |  if (!is_constant_evaluated()) {
  490|       |    uint64_t hi = 0;
  491|       |    uint64_t lo = _umul128(x, y, &hi);
  492|       |    return {hi, lo};
  493|       |  }
  494|       |#  elif FMT_USE_IS_CONSTANT_EVALUATED && defined(_M_ARM64)
  495|       |  if (!is_constant_evaluated()) return {__umulh(x, y), x * y};
  496|       |#  endif
  497|       |  uint64_t a = x >> 32;
  498|       |  uint64_t b = uint32_t(x);
  499|       |  uint64_t c = y >> 32;
  500|       |  uint64_t d = uint32_t(y);
  501|       |
  502|       |  uint64_t ac = a * c;
  503|       |  uint64_t bc = b * c;
  504|       |  uint64_t ad = a * d;
  505|       |  uint64_t bd = b * d;
  506|       |
  507|       |  uint64_t cs = (bd >> 32) + uint32_t(ad) + uint32_t(bc);  // cross sum
  508|       |  return {ac + (ad >> 32) + (bc >> 32) + (cs >> 32), (cs << 32) + uint32_t(bd)};
  509|       |#endif  // FMT_USE_INT128
  510|  2.42k|}
_ZN3fmt3v124zmij6detail13umul192_hi128Emmm:
  513|  1.16k|                                        uint64_t y) noexcept -> uint128 {
  514|  1.16k|  uint128_t p = umul128(x_hi, y);
  515|  1.16k|  uint64_t lo = uint64_t(p) + uint64_t(umul128(x_lo, y) >> 64);
  516|  1.16k|  return {uint64_t(p >> 64) + (lo < uint64_t(p)), lo};
  517|  1.16k|}
_ZN3fmt3v124zmij6detail15compute_dec_expEib:
  522|  1.41k|    -> int {
  523|       |#if FMT_USE_CONSTEXPR  // In C++11, GCC rejects assert in noexcept constexpr.
  524|  1.41k|  assert(bin_exp >= -1334 && bin_exp <= 2620);
  ------------------
  |  Branch (524:3): [True: 1.41k, False: 0]
  |  Branch (524:3): [True: 1.41k, False: 0]
  |  Branch (524:3): [True: 1.41k, False: 0]
  ------------------
  525|  1.41k|#endif
  526|       |  // 315653 is round(log10(2) * 2**20) and 131072 is -log10(3/4) * 2**20
  527|       |  // rounded to a power of two.
  528|  1.41k|  return (bin_exp * 315653 - !regular * 131072) >> 20;
  529|  1.41k|}
_ZN3fmt3v124zmij6detail17compute_exp_shiftEii:
  709|    724|    -> signed char {
  710|    724|  assert(dec_exp >= -350 && dec_exp <= 350);
  ------------------
  |  Branch (710:3): [True: 724, False: 0]
  |  Branch (710:3): [True: 724, False: 0]
  |  Branch (710:3): [True: 724, False: 0]
  ------------------
  711|       |  // log2_pow10_sig = round(log2(10) * 2**log2_pow10_exp) + 1
  712|    724|  constexpr int log2_pow10_sig = 217707, log2_pow10_exp = 16;
  713|       |  // pow10_bin_exp = floor(log2(10**-dec_exp))
  714|    724|  int pow10_bin_exp = -dec_exp * log2_pow10_sig >> log2_pow10_exp;
  715|       |  // pow10 = ((pow10_hi << 64) | pow10_lo) * 2**(pow10_bin_exp - 127)
  716|    724|  return static_cast<signed char>(bin_exp + pow10_bin_exp + 1);
  717|    724|}
_ZN3fmt3v124zmij6detail13write_inf_nanEPcb:
 1217|     94|    -> char* {
 1218|     94|  if (zmij::detail::is_constant_evaluated())
  ------------------
  |  Branch (1218:7): [Folded, False: 94]
  ------------------
 1219|      0|    return zmij::detail::copy_n(buffer, is_nan ? "nan" : "inf", 3);
  ------------------
  |  Branch (1219:41): [True: 0, False: 0]
  ------------------
 1220|     94|  memcpy(buffer, is_nan ? "nan" : "inf", 4);
  ------------------
  |  Branch (1220:18): [True: 93, False: 1]
  ------------------
 1221|     94|  return buffer + 3;
 1222|     94|}
_ZN3fmt3v126detail9max_valueIiEET_v:
 1770|    152|template <typename T> constexpr auto max_value() -> T {
 1771|    152|  return (std::numeric_limits<T>::max)();
 1772|    152|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEicEET_S5_T0_RKT1_:
 1879|    252|    -> OutputIt {
 1880|    430|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (1880:20): [True: 178, False: 252]
  ------------------
 1881|    252|  return out;
 1882|    252|}
_ZN3fmt3v126detail8num_bitsIjEEiv:
 1773|  18.5k|template <typename T> constexpr auto num_bits() -> int {
 1774|  18.5k|  return std::numeric_limits<T>::digits;
 1775|  18.5k|}
_ZNK3fmt3v126detail6bigint9get_bigitEi:
 4135|  1.98k|  FMT_CONSTEXPR auto get_bigit(int i) const -> bigit {
 4136|  1.98k|    return i >= exp_ && i < num_bigits() ? bigits_[i - exp_] : 0;
  ------------------
  |  Branch (4136:12): [True: 1.93k, False: 45]
  |  Branch (4136:25): [True: 1.56k, False: 378]
  ------------------
 4137|  1.98k|  }
_ZN3fmt3v126detail6bigint15subtract_bigitsEijRj:
 4139|   557k|  FMT_CONSTEXPR void subtract_bigits(int index, bigit other, bigit& borrow) {
 4140|   557k|    auto result = double_bigit(bigits_[index]) - other - borrow;
 4141|   557k|    bigits_[index] = static_cast<bigit>(result);
 4142|   557k|    borrow = static_cast<bigit>(result >> (bigit_bits * 2 - 1));
 4143|   557k|  }
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEE6resizeEm:
 2419|   134k|  FMT_CONSTEXPR void resize(size_t count) { this->try_resize(count); }
_ZN3fmt3v126detail6bigint20remove_leading_zerosEv:
 4145|   125k|  FMT_CONSTEXPR void remove_leading_zeros() {
 4146|   125k|    int num_bigits = static_cast<int>(bigits_.size()) - 1;
 4147|   131k|    while (num_bigits > 0 && bigits_[num_bigits] == 0) --num_bigits;
  ------------------
  |  Branch (4147:12): [True: 129k, False: 1.73k]
  |  Branch (4147:30): [True: 6.06k, False: 123k]
  ------------------
 4148|   125k|    bigits_.resize(to_unsigned(num_bigits + 1));
 4149|   125k|  }
_ZN3fmt3v126detail6bigint16subtract_alignedERKS2_:
 4152|   122k|  FMT_CONSTEXPR void subtract_aligned(const bigint& other) {
 4153|   122k|    FMT_ASSERT(other.exp_ >= exp_, "unaligned bigints");
  ------------------
  |  |  419|   122k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 122k, False: 0]
  |  |  ------------------
  |  |  420|   122k|         ? (void)0                                                          \
  |  |  421|   122k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4154|   122k|    FMT_ASSERT(compare(*this, other) >= 0, "");
  ------------------
  |  |  419|   122k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 122k, False: 0]
  |  |  ------------------
  |  |  420|   122k|         ? (void)0                                                          \
  |  |  421|   122k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4155|   122k|    bigit borrow = 0;
 4156|   122k|    int i = other.exp_ - exp_;
 4157|   676k|    for (size_t j = 0, n = other.bigits_.size(); j != n; ++i, ++j)
  ------------------
  |  Branch (4157:50): [True: 554k, False: 122k]
  ------------------
 4158|   554k|      subtract_bigits(i, other.bigits_[j], borrow);
 4159|   122k|    if (borrow != 0) subtract_bigits(i, 0, borrow);
  ------------------
  |  Branch (4159:9): [True: 3.25k, False: 119k]
  ------------------
 4160|   122k|    FMT_ASSERT(borrow == 0, "");
  ------------------
  |  |  419|   122k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 122k, False: 0]
  |  |  ------------------
  |  |  420|   122k|         ? (void)0                                                          \
  |  |  421|   122k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4161|   122k|    remove_leading_zeros();
 4162|   122k|  }
_ZN3fmt3v126detail6bigint8multiplyEj:
 4164|  32.3k|  FMT_CONSTEXPR void multiply(uint32_t value) {
 4165|  32.3k|    bigit carry = 0;
 4166|  32.3k|    const double_bigit wide_value = value;
 4167|   431k|    for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
  ------------------
  |  Branch (4167:44): [True: 399k, False: 32.3k]
  ------------------
 4168|   399k|      double_bigit result = bigits_[i] * wide_value + carry;
 4169|   399k|      bigits_[i] = static_cast<bigit>(result);
 4170|   399k|      carry = static_cast<bigit>(result >> bigit_bits);
 4171|   399k|    }
 4172|  32.3k|    if (carry != 0) bigits_.push_back(carry);
  ------------------
  |  Branch (4172:9): [True: 3.55k, False: 28.7k]
  ------------------
 4173|  32.3k|  }
_ZN3fmt3v126detail6bigintC2Ev:
 4209|  2.51k|  FMT_CONSTEXPR bigint() : exp_(0) {}
_ZN3fmt3v126detail6bigint6assignImTnNSt3__19enable_ifIXoosr3std7is_sameIT_mEE5valuesr3std7is_sameIS6_oEE5valueEiE4typeELi0EEEvS6_:
 4198|  1.30k|  FMT_CONSTEXPR void assign(UInt n) {
 4199|  1.30k|    size_t num_bigits = 0;
 4200|  1.30k|    do {
 4201|  1.30k|      bigits_[num_bigits++] = static_cast<bigit>(n);
 4202|  1.30k|      n >>= bigit_bits;
 4203|  1.30k|    } while (n != 0);
  ------------------
  |  Branch (4203:14): [True: 0, False: 1.30k]
  ------------------
 4204|  1.30k|    bigits_.resize(num_bigits);
 4205|  1.30k|    exp_ = 0;
 4206|  1.30k|  }
_ZN3fmt3v126detail6bigint6assignERKS2_:
 4215|    401|  FMT_CONSTEXPR void assign(const bigint& other) {
 4216|    401|    auto size = other.bigits_.size();
 4217|    401|    bigits_.resize(size);
 4218|    401|    auto data = other.bigits_.data();
 4219|    401|    copy<bigit>(data, data + size, bigits_.data());
 4220|    401|    exp_ = other.exp_;
 4221|    401|  }
_ZNK3fmt3v126detail6bigint10num_bigitsEv:
 4228|   555k|  FMT_CONSTEXPR auto num_bigits() const -> int {
 4229|   555k|    return static_cast<int>(bigits_.size()) + exp_;
 4230|   555k|  }
_ZN3fmt3v126detail6bigintlSEi:
 4232|  2.11k|  FMT_CONSTEXPR auto operator<<=(int shift) -> bigint& {
 4233|  2.11k|    FMT_ASSERT(shift >= 0, "");
  ------------------
  |  |  419|  2.11k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 2.11k, False: 0]
  |  |  ------------------
  |  |  420|  2.11k|         ? (void)0                                                          \
  |  |  421|  2.11k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4234|  2.11k|    exp_ += shift / bigit_bits;
 4235|  2.11k|    shift %= bigit_bits;
 4236|  2.11k|    if (shift == 0) return *this;
  ------------------
  |  Branch (4236:9): [True: 52, False: 2.06k]
  ------------------
 4237|  2.06k|    bigit carry = 0;
 4238|  18.7k|    for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
  ------------------
  |  Branch (4238:44): [True: 16.6k, False: 2.06k]
  ------------------
 4239|  16.6k|      bigit c = bigits_[i] >> (bigit_bits - shift);
 4240|  16.6k|      bigits_[i] = (bigits_[i] << shift) + carry;
 4241|  16.6k|      carry = c;
 4242|  16.6k|    }
 4243|  2.06k|    if (carry != 0) bigits_.push_back(carry);
  ------------------
  |  Branch (4243:9): [True: 368, False: 1.69k]
  ------------------
 4244|  2.06k|    return *this;
 4245|  2.11k|  }
_ZN3fmt3v126detail7compareERKNS1_6bigintES4_:
 4253|   275k|  friend FMT_CONSTEXPR auto compare(const bigint& b1, const bigint& b2) -> int {
 4254|   275k|    int num_bigits1 = b1.num_bigits(), num_bigits2 = b2.num_bigits();
 4255|   275k|    if (num_bigits1 != num_bigits2) return num_bigits1 > num_bigits2 ? 1 : -1;
  ------------------
  |  Branch (4255:9): [True: 18.6k, False: 257k]
  |  Branch (4255:44): [True: 11.6k, False: 7.08k]
  ------------------
 4256|   257k|    int i = static_cast<int>(b1.bigits_.size()) - 1;
 4257|   257k|    int j = static_cast<int>(b2.bigits_.size()) - 1;
 4258|   257k|    int end = i - j;
 4259|   257k|    if (end < 0) end = 0;
  ------------------
  |  Branch (4259:9): [True: 118, False: 257k]
  ------------------
 4260|   261k|    for (; i >= end; --i, --j) {
  ------------------
  |  Branch (4260:12): [True: 258k, False: 3.11k]
  ------------------
 4261|   258k|      bigit b1_bigit = b1.bigits_[i], b2_bigit = b2.bigits_[j];
 4262|   258k|      if (b1_bigit != b2_bigit) return b1_bigit > b2_bigit ? 1 : -1;
  ------------------
  |  Branch (4262:11): [True: 254k, False: 4.67k]
  |  Branch (4262:40): [True: 229k, False: 24.3k]
  ------------------
 4263|   258k|    }
 4264|  3.11k|    if (i != j) return i > j ? 1 : -1;
  ------------------
  |  Branch (4264:9): [True: 2.93k, False: 188]
  |  Branch (4264:24): [True: 2.93k, False: 0]
  ------------------
 4265|    188|    return 0;
 4266|  3.11k|  }
_ZN3fmt3v126detail11add_compareERKNS1_6bigintES4_S4_:
 4270|    629|                                        const bigint& rhs) -> int {
 4271|    629|    int max_lhs_bigits = max_of(lhs1.num_bigits(), lhs2.num_bigits());
 4272|    629|    int num_rhs_bigits = rhs.num_bigits();
 4273|    629|    if (max_lhs_bigits + 1 < num_rhs_bigits) return -1;
  ------------------
  |  Branch (4273:9): [True: 33, False: 596]
  ------------------
 4274|    596|    if (max_lhs_bigits > num_rhs_bigits) return 1;
  ------------------
  |  Branch (4274:9): [True: 0, False: 596]
  ------------------
 4275|    596|    double_bigit borrow = 0;
 4276|    596|    int min_exp = min_of(min_of(lhs1.exp_, lhs2.exp_), rhs.exp_);
 4277|    672|    for (int i = num_rhs_bigits - 1; i >= min_exp; --i) {
  ------------------
  |  Branch (4277:38): [True: 661, False: 11]
  ------------------
 4278|    661|      double_bigit sum = double_bigit(lhs1.get_bigit(i)) + lhs2.get_bigit(i);
 4279|    661|      bigit rhs_bigit = rhs.get_bigit(i);
 4280|    661|      if (sum > rhs_bigit + borrow) return 1;
  ------------------
  |  Branch (4280:11): [True: 230, False: 431]
  ------------------
 4281|    431|      borrow = rhs_bigit + borrow - sum;
 4282|    431|      if (borrow > 1) return -1;
  ------------------
  |  Branch (4282:11): [True: 355, False: 76]
  ------------------
 4283|     76|      borrow <<= bigit_bits;
 4284|     76|    }
 4285|     11|    return borrow != 0 ? -1 : 0;
  ------------------
  |  Branch (4285:12): [True: 0, False: 11]
  ------------------
 4286|    596|  }
_ZN3fmt3v126detail6bigintaSIiEEvT_:
 4223|  1.29k|  template <typename Int> FMT_CONSTEXPR void operator=(Int n) {
 4224|  1.29k|    FMT_ASSERT(n > 0, "");
  ------------------
  |  |  419|  1.29k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 1.29k, False: 0]
  |  |  ------------------
  |  |  420|  1.29k|         ? (void)0                                                          \
  |  |  421|  1.29k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4225|  1.29k|    assign(uint64_or_128_t<Int>(n));
 4226|  1.29k|  }
_ZN3fmt3v126detail6bigintmLIiEERS2_T_:
 4247|  32.3k|  template <typename Int> FMT_CONSTEXPR auto operator*=(Int value) -> bigint& {
 4248|  32.3k|    FMT_ASSERT(value > 0, "");
  ------------------
  |  |  419|  32.3k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 32.3k, False: 0]
  |  |  ------------------
  |  |  420|  32.3k|         ? (void)0                                                          \
  |  |  421|  32.3k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4249|  32.3k|    multiply(uint32_or_64_or_128_t<Int>(value));
 4250|  32.3k|    return *this;
 4251|  32.3k|  }
_ZN3fmt3v126detail6bigint12assign_pow10Ei:
 4289|    629|  FMT_CONSTEXPR20 void assign_pow10(int exp) {
 4290|    629|    FMT_ASSERT(exp >= 0, "");
  ------------------
  |  |  419|    629|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 629, False: 0]
  |  |  ------------------
  |  |  420|    629|         ? (void)0                                                          \
  |  |  421|    629|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4291|    629|    if (exp == 0) return *this = 1;
  ------------------
  |  Branch (4291:9): [True: 36, False: 593]
  ------------------
 4292|    593|    int bitmask =
 4293|    593|        1 << (num_bits<unsigned>() - clz(static_cast<uint32_t>(exp)) - 1);
 4294|       |    // pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
 4295|       |    // repeated squaring and multiplication.
 4296|    593|    *this = 5;
 4297|    593|    bitmask >>= 1;
 4298|  3.96k|    while (bitmask != 0) {
  ------------------
  |  Branch (4298:12): [True: 3.37k, False: 593]
  ------------------
 4299|  3.37k|      square();
 4300|  3.37k|      if ((exp & bitmask) != 0) *this *= 5;
  ------------------
  |  Branch (4300:11): [True: 1.52k, False: 1.85k]
  ------------------
 4301|  3.37k|      bitmask >>= 1;
 4302|  3.37k|    }
 4303|    593|    *this <<= exp;  // Multiply by pow(2, exp) by shifting.
 4304|    593|  }
_ZN3fmt3v126detail6bigint6squareEv:
 4306|  3.37k|  FMT_CONSTEXPR20 void square() {
 4307|  3.37k|    int num_bigits = static_cast<int>(bigits_.size());
 4308|  3.37k|    int num_result_bigits = 2 * num_bigits;
 4309|  3.37k|    basic_memory_buffer<bigit, bigits_capacity> n(std::move(bigits_));
 4310|  3.37k|    bigits_.resize(to_unsigned(num_result_bigits));
 4311|  3.37k|    auto sum = uint128_t();
 4312|  12.3k|    for (int bigit_index = 0; bigit_index < num_bigits; ++bigit_index) {
  ------------------
  |  Branch (4312:31): [True: 8.95k, False: 3.37k]
  ------------------
 4313|       |      // Compute bigit at position bigit_index of the result by adding
 4314|       |      // cross-product terms n[i] * n[j] such that i + j == bigit_index.
 4315|  40.5k|      for (int i = 0, j = bigit_index; j >= 0; ++i, --j) {
  ------------------
  |  Branch (4315:40): [True: 31.5k, False: 8.95k]
  ------------------
 4316|       |        // Most terms are multiplied twice which can be optimized in the future.
 4317|  31.5k|        sum += double_bigit(n[i]) * n[j];
 4318|  31.5k|      }
 4319|  8.95k|      bigits_[bigit_index] = static_cast<bigit>(sum);
 4320|  8.95k|      sum >>= num_bits<bigit>();  // Compute the carry.
 4321|  8.95k|    }
 4322|       |    // Do the same for the top half.
 4323|  12.3k|    for (int bigit_index = num_bigits; bigit_index < num_result_bigits;
  ------------------
  |  Branch (4323:40): [True: 8.95k, False: 3.37k]
  ------------------
 4324|  8.95k|         ++bigit_index) {
 4325|  31.5k|      for (int j = num_bigits - 1, i = bigit_index - j; i < num_bigits;)
  ------------------
  |  Branch (4325:57): [True: 22.5k, False: 8.95k]
  ------------------
 4326|  22.5k|        sum += double_bigit(n[i++]) * n[j--];
 4327|  8.95k|      bigits_[bigit_index] = static_cast<bigit>(sum);
 4328|  8.95k|      sum >>= num_bits<bigit>();
 4329|  8.95k|    }
 4330|  3.37k|    remove_leading_zeros();
 4331|  3.37k|    exp_ *= 2;
 4332|  3.37k|  }
_ZN3fmt3v126detail6fill_nIPjjjEET_S4_T0_RKT1_:
 1879|    132|    -> OutputIt {
 1880|  1.81k|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (1880:20): [True: 1.68k, False: 132]
  ------------------
 1881|    132|  return out;
 1882|    132|}
_ZN3fmt3v126detail6bigint5alignERKS2_:
 4336|  24.2k|  FMT_CONSTEXPR void align(const bigint& other) {
 4337|  24.2k|    int exp_difference = exp_ - other.exp_;
 4338|  24.2k|    if (exp_difference <= 0) return;
  ------------------
  |  Branch (4338:9): [True: 24.1k, False: 132]
  ------------------
 4339|    132|    int num_bigits = static_cast<int>(bigits_.size());
 4340|    132|    bigits_.resize(to_unsigned(num_bigits + exp_difference));
 4341|    483|    for (int i = num_bigits - 1, j = i + exp_difference; i >= 0; --i, --j)
  ------------------
  |  Branch (4341:58): [True: 351, False: 132]
  ------------------
 4342|    351|      bigits_[j] = bigits_[i];
 4343|    132|    fill_n(bigits_.data(), to_unsigned(exp_difference), 0U);
 4344|    132|    exp_ -= exp_difference;
 4345|    132|  }
_ZN3fmt3v126detail6bigint13divmod_assignERKS2_:
 4349|  31.4k|  FMT_CONSTEXPR auto divmod_assign(const bigint& divisor) -> int {
 4350|  31.4k|    FMT_ASSERT(this != &divisor, "");
  ------------------
  |  |  419|  31.4k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 31.4k, False: 0]
  |  |  ------------------
  |  |  420|  31.4k|         ? (void)0                                                          \
  |  |  421|  31.4k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4351|  31.4k|    if (compare(*this, divisor) < 0) return 0;
  ------------------
  |  Branch (4351:9): [True: 7.17k, False: 24.2k]
  ------------------
 4352|  24.2k|    FMT_ASSERT(divisor.bigits_[divisor.bigits_.size() - 1u] != 0, "");
  ------------------
  |  |  419|  24.2k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 24.2k, False: 0]
  |  |  ------------------
  |  |  420|  24.2k|         ? (void)0                                                          \
  |  |  421|  24.2k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4353|  24.2k|    align(divisor);
 4354|  24.2k|    int quotient = 0;
 4355|   122k|    do {
 4356|   122k|      subtract_aligned(divisor);
 4357|   122k|      ++quotient;
 4358|   122k|    } while (compare(*this, divisor) >= 0);
  ------------------
  |  Branch (4358:14): [True: 97.9k, False: 24.2k]
  ------------------
 4359|  24.2k|    return quotient;
 4360|  31.4k|  }
_ZN3fmt3v126detail6bigint6assignIoTnNSt3__19enable_ifIXoosr3std7is_sameIT_mEE5valuesr3std7is_sameIS6_oEE5valueEiE4typeELi0EEEvS6_:
 4198|    274|  FMT_CONSTEXPR void assign(UInt n) {
 4199|    274|    size_t num_bigits = 0;
 4200|    548|    do {
 4201|    548|      bigits_[num_bigits++] = static_cast<bigit>(n);
 4202|    548|      n >>= bigit_bits;
 4203|    548|    } while (n != 0);
  ------------------
  |  Branch (4203:14): [True: 274, False: 274]
  ------------------
 4204|    274|    bigits_.resize(num_bigits);
 4205|    274|    exp_ = 0;
 4206|    274|  }
_ZN3fmt3v126detail6bigintaSIoEEvT_:
 4223|    274|  template <typename Int> FMT_CONSTEXPR void operator=(Int n) {
 4224|    274|    FMT_ASSERT(n > 0, "");
  ------------------
  |  |  419|    274|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 274, False: 0]
  |  |  ------------------
  |  |  420|    274|         ? (void)0                                                          \
  |  |  421|    274|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4225|    274|    assign(uint64_or_128_t<Int>(n));
 4226|    274|  }
_ZN3fmt3v126detail8num_bitsImEEiv:
 1773|    355|template <typename T> constexpr auto num_bits() -> int {
 1774|    355|  return std::numeric_limits<T>::digits;
 1775|    355|}
_ZN3fmt3v126detail6bigint8multiplyIoTnNSt3__19enable_ifIXoosr3std7is_sameIT_mEE5valuesr3std7is_sameIS6_oEE5valueEiE4typeELi0EEEvS6_:
 4177|    355|  FMT_CONSTEXPR void multiply(UInt value) {
 4178|    355|    using half_uint =
 4179|    355|        conditional_t<std::is_same<UInt, uint128_t>::value, uint64_t, uint32_t>;
 4180|    355|    const int shift = num_bits<half_uint>() - bigit_bits;
 4181|    355|    const UInt lower = static_cast<half_uint>(value);
 4182|    355|    const UInt upper = value >> num_bits<half_uint>();
 4183|    355|    UInt carry = 0;
 4184|  5.72k|    for (size_t i = 0, n = bigits_.size(); i < n; ++i) {
  ------------------
  |  Branch (4184:44): [True: 5.37k, False: 355]
  ------------------
 4185|  5.37k|      UInt result = lower * bigits_[i] + static_cast<bigit>(carry);
 4186|  5.37k|      carry = (upper * bigits_[i] << shift) + (result >> bigit_bits) +
 4187|  5.37k|              (carry >> bigit_bits);
 4188|  5.37k|      bigits_[i] = static_cast<bigit>(result);
 4189|  5.37k|    }
 4190|    824|    while (carry != 0) {
  ------------------
  |  Branch (4190:12): [True: 469, False: 355]
  ------------------
 4191|    469|      bigits_.push_back(static_cast<bigit>(carry));
 4192|    469|      carry >>= bigit_bits;
 4193|    469|    }
 4194|    355|  }
_ZN3fmt3v126detail6bigintmLIoEERS2_T_:
 4247|    355|  template <typename Int> FMT_CONSTEXPR auto operator*=(Int value) -> bigint& {
 4248|    355|    FMT_ASSERT(value > 0, "");
  ------------------
  |  |  419|    355|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 355, False: 0]
  |  |  ------------------
  |  |  420|    355|         ? (void)0                                                          \
  |  |  421|    355|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4249|    355|    multiply(uint32_or_64_or_128_t<Int>(value));
 4250|    355|    return *this;
 4251|    355|  }
_ZN3fmt3v126detail6bigintaSIyEEvT_:
 4223|     13|  template <typename Int> FMT_CONSTEXPR void operator=(Int n) {
 4224|     13|    FMT_ASSERT(n > 0, "");
  ------------------
  |  |  419|     13|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  420|     13|         ? (void)0                                                          \
  |  |  421|     13|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 4225|     13|    assign(uint64_or_128_t<Int>(n));
 4226|     13|  }
_ZN3fmt3v126detail7getsignIcEET_NS0_4signE:
 2579|    283|template <typename Char> constexpr auto getsign(sign s) -> Char {
 2580|    283|  return static_cast<Char>(static_cast<char>(
 2581|    283|      ((' ' << 24) | ('+' << 16) | ('-' << 8)) >> (static_cast<int>(s) * 8)));
 2582|    283|}
_ZN3fmt3v126detail7digits2Em:
 2551|    770|inline auto digits2(size_t value) noexcept -> const char* {
 2552|       |  // Align data since unaligned access may be slower when crossing a
 2553|       |  // hardware-specific boundary.
 2554|    770|  alignas(2) static constexpr char data[] =
 2555|    770|      "0001020304050607080910111213141516171819"
 2556|    770|      "2021222324252627282930313233343536373839"
 2557|    770|      "4041424344454647484950515253545556575859"
 2558|    770|      "6061626364656667686970717273747576777879"
 2559|    770|      "8081828384858687888990919293949596979899";
 2560|    770|  return &data[value * 2];
 2561|    770|}
_ZN3fmt3v126detail16compute_exp_sizeEi:
 3021|    428|FMT_CONSTEXPR inline auto compute_exp_size(int exp) -> int {
 3022|    428|  auto prefix_size = 2;  // sign + 'e'
 3023|    428|  auto abs_exp = exp >= 0 ? exp : -exp;
  ------------------
  |  Branch (3023:18): [True: 123, False: 305]
  ------------------
 3024|    428|  if (abs_exp < 100) return prefix_size + 2;
  ------------------
  |  Branch (3024:7): [True: 86, False: 342]
  ------------------
 3025|    342|  return prefix_size + (abs_exp >= 1000 ? 4 : 3);
  ------------------
  |  Branch (3025:25): [True: 0, False: 342]
  ------------------
 3026|    428|}
_ZN3fmt3v126detail20get_significand_sizeERKNS1_14big_decimal_fpE:
 3833|    630|constexpr auto get_significand_size(const big_decimal_fp& f) -> int {
 3834|    630|  return f.significand_size;
 3835|    630|}
_ZN3fmt3v126detail9use_fixedEii:
 3939|    630|constexpr auto use_fixed(int exp, int exp_upper) -> bool {
 3940|    630|  return exp >= -4 && exp < exp_upper;
  ------------------
  |  Branch (3940:10): [True: 325, False: 305]
  |  Branch (3940:23): [True: 202, False: 123]
  ------------------
 3941|    630|}
_ZN3fmt3v126detail13format_dragonENS1_8basic_fpIoEEjiRNS1_6bufferIcEERi:
 4375|    629|                                          buffer<char>& buf, int& exp10) {
 4376|    629|  bigint numerator;    // 2 * R in (FPP)^2.
 4377|    629|  bigint denominator;  // 2 * S in (FPP)^2.
 4378|       |  // lower and upper are differences between value and corresponding boundaries.
 4379|    629|  bigint lower;             // (M^- in (FPP)^2).
 4380|    629|  bigint upper_store;       // upper's value if different from lower.
 4381|    629|  bigint* upper = nullptr;  // (M^+ in (FPP)^2).
 4382|       |  // Shift numerator and denominator by an extra bit or two (if lower boundary
 4383|       |  // is closer) to make lower and upper integers. This eliminates multiplication
 4384|       |  // by 2 during later computations.
 4385|    629|  bool is_predecessor_closer = (flags & dragon::predecessor_closer) != 0;
 4386|    629|  int shift = is_predecessor_closer ? 2 : 1;
  ------------------
  |  Branch (4386:15): [True: 94, False: 535]
  ------------------
 4387|    629|  if (value.e >= 0) {
  ------------------
  |  Branch (4387:7): [True: 185, False: 444]
  ------------------
 4388|    185|    numerator = value.f;
 4389|    185|    numerator <<= value.e + shift;
 4390|    185|    lower = 1;
 4391|    185|    lower <<= value.e;
 4392|    185|    if (is_predecessor_closer) {
  ------------------
  |  Branch (4392:9): [True: 35, False: 150]
  ------------------
 4393|     35|      upper_store = 1;
 4394|     35|      upper_store <<= value.e + 1;
 4395|     35|      upper = &upper_store;
 4396|     35|    }
 4397|    185|    denominator.assign_pow10(exp10);
 4398|    185|    denominator <<= shift;
 4399|    444|  } else if (exp10 < 0) {
  ------------------
  |  Branch (4399:14): [True: 355, False: 89]
  ------------------
 4400|    355|    numerator.assign_pow10(-exp10);
 4401|    355|    lower.assign(numerator);
 4402|    355|    if (is_predecessor_closer) {
  ------------------
  |  Branch (4402:9): [True: 46, False: 309]
  ------------------
 4403|     46|      upper_store.assign(numerator);
 4404|     46|      upper_store <<= 1;
 4405|     46|      upper = &upper_store;
 4406|     46|    }
 4407|    355|    numerator *= value.f;
 4408|    355|    numerator <<= shift;
 4409|    355|    denominator = 1;
 4410|    355|    denominator <<= shift - value.e;
 4411|    355|  } else {
 4412|     89|    numerator = value.f;
 4413|     89|    numerator <<= shift;
 4414|     89|    denominator.assign_pow10(exp10);
 4415|     89|    denominator <<= shift - value.e;
 4416|     89|    lower = 1;
 4417|     89|    if (is_predecessor_closer) {
  ------------------
  |  Branch (4417:9): [True: 13, False: 76]
  ------------------
 4418|     13|      upper_store = 1ULL << 1;
 4419|     13|      upper = &upper_store;
 4420|     13|    }
 4421|     89|  }
 4422|    629|  int even = static_cast<int>((value.f & 1) == 0);
 4423|    629|  if (!upper) upper = &lower;
  ------------------
  |  Branch (4423:7): [True: 535, False: 94]
  ------------------
 4424|    629|  bool shortest = num_digits < 0;
 4425|    629|  if ((flags & dragon::fixup) != 0) {
  ------------------
  |  Branch (4425:7): [True: 0, False: 629]
  ------------------
 4426|       |    // In the shortest mode the upper boundary is included because the output
 4427|       |    // may round up to the next power of 10. With a given number of digits,
 4428|       |    // rounding happens after digit generation, so only the value is compared.
 4429|      0|    bool too_high =
 4430|      0|        shortest ? add_compare(numerator, *upper, denominator) + even <= 0
  ------------------
  |  Branch (4430:9): [True: 0, False: 0]
  ------------------
 4431|      0|                 : compare(numerator, denominator) < 0;
 4432|      0|    if (too_high) {
  ------------------
  |  Branch (4432:9): [True: 0, False: 0]
  ------------------
 4433|      0|      --exp10;
 4434|      0|      numerator *= 10;
 4435|      0|      if (num_digits < 0) {
  ------------------
  |  Branch (4435:11): [True: 0, False: 0]
  ------------------
 4436|      0|        lower *= 10;
 4437|      0|        if (upper != &lower) *upper *= 10;
  ------------------
  |  Branch (4437:13): [True: 0, False: 0]
  ------------------
 4438|      0|      }
 4439|      0|    }
 4440|      0|    if ((flags & dragon::fixed) != 0) adjust_precision(num_digits, exp10 + 1);
  ------------------
  |  Branch (4440:9): [True: 0, False: 0]
  ------------------
 4441|      0|  }
 4442|       |  // Invariant: value == (numerator / denominator) * pow(10, exp10).
 4443|    629|  if (shortest) {
  ------------------
  |  Branch (4443:7): [True: 0, False: 629]
  ------------------
 4444|       |    // Generate the shortest representation.
 4445|      0|    num_digits = 0;
 4446|      0|    char* data = buf.data();
 4447|      0|    for (;;) {
 4448|      0|      int digit = numerator.divmod_assign(denominator);
 4449|      0|      bool low = compare(numerator, lower) - even < 0;  // numerator <[=] lower.
 4450|       |      // numerator + upper >[=] pow10:
 4451|      0|      bool high = add_compare(numerator, *upper, denominator) + even > 0;
 4452|      0|      data[num_digits++] = static_cast<char>('0' + digit);
 4453|      0|      if (low || high) {
  ------------------
  |  Branch (4453:11): [True: 0, False: 0]
  |  Branch (4453:18): [True: 0, False: 0]
  ------------------
 4454|      0|        if (!low) {
  ------------------
  |  Branch (4454:13): [True: 0, False: 0]
  ------------------
 4455|      0|          ++data[num_digits - 1];
 4456|      0|        } else if (high) {
  ------------------
  |  Branch (4456:20): [True: 0, False: 0]
  ------------------
 4457|      0|          int result = add_compare(numerator, numerator, denominator);
 4458|       |          // Round half to even.
 4459|      0|          if (result > 0 || (result == 0 && (digit % 2) != 0))
  ------------------
  |  Branch (4459:15): [True: 0, False: 0]
  |  Branch (4459:30): [True: 0, False: 0]
  |  Branch (4459:45): [True: 0, False: 0]
  ------------------
 4460|      0|            ++data[num_digits - 1];
 4461|      0|        }
 4462|      0|        buf.try_resize(to_unsigned(num_digits));
 4463|      0|        exp10 -= num_digits - 1;
 4464|      0|        return;
 4465|      0|      }
 4466|      0|      numerator *= 10;
 4467|      0|      lower *= 10;
 4468|      0|      if (upper != &lower) *upper *= 10;
  ------------------
  |  Branch (4468:11): [True: 0, False: 0]
  ------------------
 4469|      0|    }
 4470|      0|  }
 4471|       |  // Generate the given number of digits.
 4472|    629|  exp10 -= num_digits - 1;
 4473|    629|  if (num_digits <= 0) {
  ------------------
  |  Branch (4473:7): [True: 0, False: 629]
  ------------------
 4474|      0|    auto digit = '0';
 4475|      0|    if (num_digits == 0) {
  ------------------
  |  Branch (4475:9): [True: 0, False: 0]
  ------------------
 4476|      0|      denominator *= 10;
 4477|      0|      digit = add_compare(numerator, numerator, denominator) > 0 ? '1' : '0';
  ------------------
  |  Branch (4477:15): [True: 0, False: 0]
  ------------------
 4478|      0|    }
 4479|      0|    buf.push_back(digit);
 4480|      0|    return;
 4481|      0|  }
 4482|    629|  buf.try_resize(to_unsigned(num_digits));
 4483|  31.4k|  for (int i = 0; i < num_digits - 1; ++i) {
  ------------------
  |  Branch (4483:19): [True: 30.8k, False: 629]
  ------------------
 4484|  30.8k|    int digit = numerator.divmod_assign(denominator);
 4485|  30.8k|    buf[i] = static_cast<char>('0' + digit);
 4486|  30.8k|    numerator *= 10;
 4487|  30.8k|  }
 4488|    629|  int digit = numerator.divmod_assign(denominator);
 4489|    629|  auto result = add_compare(numerator, numerator, denominator);
 4490|    629|  if (result > 0 || (result == 0 && (digit % 2) != 0)) {
  ------------------
  |  Branch (4490:7): [True: 230, False: 399]
  |  Branch (4490:22): [True: 11, False: 388]
  |  Branch (4490:37): [True: 8, False: 3]
  ------------------
 4491|    238|    if (digit == 9) {
  ------------------
  |  Branch (4491:9): [True: 34, False: 204]
  ------------------
 4492|     34|      const auto overflow = '0' + 10;
 4493|     34|      buf[num_digits - 1] = overflow;
 4494|       |      // Propagate the carry.
 4495|    114|      for (int i = num_digits - 1; i > 0 && buf[i] == overflow; --i) {
  ------------------
  |  Branch (4495:36): [True: 114, False: 0]
  |  Branch (4495:45): [True: 80, False: 34]
  ------------------
 4496|     80|        buf[i] = '0';
 4497|     80|        ++buf[i - 1];
 4498|     80|      }
 4499|     34|      if (buf[0] == overflow) {
  ------------------
  |  Branch (4499:11): [True: 0, False: 34]
  ------------------
 4500|      0|        buf[0] = '1';
 4501|      0|        if ((flags & dragon::fixed) != 0)
  ------------------
  |  Branch (4501:13): [True: 0, False: 0]
  ------------------
 4502|      0|          buf.push_back('0');
 4503|      0|        else
 4504|      0|          ++exp10;
 4505|      0|      }
 4506|     34|      return;
 4507|     34|    }
 4508|    204|    ++digit;
 4509|    204|  }
 4510|    595|  buf[num_digits - 1] = static_cast<char>('0' + digit);
 4511|    595|}
_ZN3fmt3v126detail13copy_shortestEPcPKcm:
 4752|    724|inline void copy_shortest(char* to, const char* from, size_t n) {
 4753|    724|  if (n >= 16) {
  ------------------
  |  Branch (4753:7): [True: 537, False: 187]
  ------------------
 4754|    537|    memcpy(to, from, 16);
 4755|    537|    memcpy(to + n - 16, from + n - 16, 16);
 4756|    537|  } else if (n >= 8) {
  ------------------
  |  Branch (4756:14): [True: 71, False: 116]
  ------------------
 4757|     71|    memcpy(to, from, 8);
 4758|     71|    memcpy(to + n - 8, from + n - 8, 8);
 4759|    116|  } else if (n >= 4) {
  ------------------
  |  Branch (4759:14): [True: 96, False: 20]
  ------------------
 4760|     96|    memcpy(to, from, 4);
 4761|     96|    memcpy(to + n - 4, from + n - 4, 4);
 4762|     96|  } else {
 4763|       |    // The first, middle and last chars cover 1 to 3 chars.
 4764|     20|    to[0] = from[0];
 4765|     20|    to[n / 2] = from[n / 2];
 4766|     20|    to[n - 1] = from[n - 1];
 4767|     20|  }
 4768|    724|}
_ZN3fmt3v124zmij6detail12float_traitsIdE7get_expEm:
  600|  1.35k|  static constexpr auto get_exp(sig_type bits) noexcept -> int64_t {
  601|  1.35k|    return int64_t(uint64_t(bits >> exp_shift) & unsigned(exp_mask));
  602|  1.35k|  }
_ZN3fmt3v124zmij6detail12float_traitsIdE7get_sigEm:
  597|  1.35k|  static constexpr auto get_sig(sig_type bits) noexcept -> sig_type {
  598|  1.35k|    return bits & (implicit_bit - 1);
  599|  1.35k|  }
_ZN3fmt3v124zmij6detail12float_traitsIdE11is_negativeEm:
  594|    724|  static constexpr auto is_negative(sig_type bits) noexcept -> bool {
  595|    724|    return ((bits >> (num_bits - 1)) & 1) != 0;
  596|    724|  }
_ZN3fmt3v124zmij6detail12float_traitsIdE9is_normalEl:
  603|    724|  static constexpr auto is_normal(int64_t bin_exp) noexcept -> bool {
  604|       |    // Fold subnormal/zero (exp 0) and inf/nan (exp exp_mask) into one check.
  605|    724|    return unsigned(bin_exp - 1) < unsigned(exp_mask - 1);
  606|    724|  }
_ZN3fmt3v124zmij6detail12float_traitsIdE7to_bitsEd:
  582|  1.35k|  static FMT_CONSTEXPR20 auto to_bits(Float value) noexcept -> sig_type {
  583|       |#if defined(__cpp_lib_bit_cast) && __cpp_lib_bit_cast >= 201806L
  584|       |    if (is_constant_evaluated()) {
  585|       |      if constexpr (sizeof(sig_type) == sizeof(Float))
  586|       |        return std::bit_cast<sig_type>(value);
  587|       |    }
  588|       |#endif
  589|  1.35k|    sig_type bits = sig_type();
  590|  1.35k|    memcpy(&bits, &value, sizeof(value));
  591|  1.35k|    return bits;
  592|  1.35k|  }
_ZN3fmt3v124zmij6detail9normalizeIdmEEvRT0_Rl:
 1244|    158|                                          int64_t& bin_exp) noexcept {
 1245|       |  // clz counts from the top of its operand, so measure from that width.
 1246|    158|  int lz, width;
 1247|    158|  if (sizeof(UInt) > 8) {
  ------------------
  |  Branch (1247:7): [Folded, False: 158]
  ------------------
 1248|      0|    uint128_t v = bin_sig;
 1249|      0|    uint64_t hi = uint64_t(v >> 64);
 1250|      0|    lz = hi != 0 ? clz(hi) : 64 + clz(uint64_t(v));
  ------------------
  |  Branch (1250:10): [True: 0, False: 0]
  ------------------
 1251|      0|    width = 128;
 1252|    158|  } else {
 1253|    158|    lz = clz(uint64_t(bin_sig));
 1254|    158|    width = 64;
 1255|    158|  }
 1256|    158|  int shift = lz - (width - 1 - float_traits<Float>::num_sig_bits);
 1257|    158|  bin_sig = bin_sig << shift;
 1258|    158|  bin_exp = 1 - shift;
 1259|    158|}
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEE10deallocateEv:
 2307|  5.88k|  FMT_CONSTEXPR20 void deallocate() {
 2308|  5.88k|    T* data = this->data();
 2309|  5.88k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (2309:9): [True: 0, False: 5.88k]
  ------------------
 2310|  5.88k|  }
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEE4moveERS5_:
 2377|  3.37k|  FMT_CONSTEXPR20 void move(basic_memory_buffer& other) {
 2378|  3.37k|    T* data = other.data();
 2379|  3.37k|    size_t size = other.size(), capacity = other.capacity();
 2380|  3.37k|    if (!move_alloc(other)) return;
  ------------------
  |  Branch (2380:9): [True: 0, False: 3.37k]
  ------------------
 2381|  3.37k|    if (data == other.store_) {
  ------------------
  |  Branch (2381:9): [True: 3.37k, False: 0]
  ------------------
 2382|  3.37k|      this->set(store_, capacity);
 2383|  3.37k|      detail::copy<T>(other.store_, other.store_ + size, store_);
 2384|  3.37k|    } else {
 2385|      0|      this->set(data, capacity);
 2386|       |      // Set pointer to the inline array so that delete is not called
 2387|       |      // when deallocating.
 2388|      0|      other.set(other.store_, 0);
 2389|      0|      other.clear();
 2390|      0|    }
 2391|  3.37k|    this->resize(size);
 2392|  3.37k|  }
_ZN3fmt3v126detaileqENS1_9allocatorIjEES3_:
 2260|  3.37k|  constexpr friend auto operator==(allocator, allocator) noexcept -> bool {
 2261|  3.37k|    return true;  // All instances of this allocator are equivalent.
 2262|  3.37k|  }
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEE10move_allocIS4_TnNSt3__19enable_ifIXntsr3std16allocator_traitsIT_E38propagate_on_container_move_assignmentE5valueEiE4typeELi0EEEbRS5_:
 2366|  3.37k|  FMT_CONSTEXPR20 auto move_alloc(basic_memory_buffer& other) -> bool {
 2367|  3.37k|    T* data = other.data();
 2368|  3.37k|    if (alloc_ == other.alloc_ || data == other.store_) return true;
  ------------------
  |  Branch (2368:9): [True: 3.37k, False: 0]
  |  Branch (2368:35): [True: 0, False: 0]
  ------------------
 2369|      0|    size_t size = other.size();
 2370|       |    // Perform copy operation, allocators are different.
 2371|      0|    this->resize(size);
 2372|      0|    detail::copy<T>(data, data + size, this->data());
 2373|      0|    return false;
 2374|  3.37k|  }
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
 1852|    724|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
 1853|    724|  buffer<T>& buf = get_container(it);
 1854|    724|  buf.try_reserve(buf.size() + n);
 1855|    724|  auto size = buf.size();
 1856|    724|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (1856:7): [True: 0, False: 724]
  ------------------
 1857|    724|  buf.try_resize(size + n);
 1858|    724|  return buf.data() + size;
 1859|    724|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
 1827|    724|    -> basic_appender<T> {
 1828|    724|  buffer<T>& buf = get_container(it);
 1829|    724|  buf.try_reserve(buf.size() + n);
 1830|    724|  return it;
 1831|    724|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
 1871|    724|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
 1872|    724|  return it;
 1873|    724|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIdTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 4887|    724|  void operator()(T value) {
 4888|    724|    write<Char>(out, value);
 4889|    724|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEdTnNSt3__19enable_ifIXsr13is_fast_floatIT1_EE5valueEiE4typeELi0EEET0_SA_S7_:
 4776|    724|FMT_CONSTEXPR20 auto write(OutputIt out, T value) -> OutputIt {
 4777|    724|  if (is_constant_evaluated()) return write<Char>(out, value, format_specs());
  ------------------
  |  Branch (4777:7): [Folded, False: 724]
  ------------------
 4778|       |  // zmij writes the sign, inf and nan as well and can store past the end.
 4779|    724|  char buf[zmij::double_buffer_size];
 4780|    724|  char* end = zmij::detail::write(buf, static_cast<fast_float_t<T>>(value));
 4781|    724|  auto size = to_unsigned(end - buf);
 4782|    724|  if (Char* ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (4782:13): [True: 724, False: 0]
  ------------------
 4783|    724|    copy_shortest(ptr, buf, size);
 4784|    724|    return out;
 4785|    724|  }
 4786|      0|  return copy<Char>(buf, end, out);
 4787|    724|}
_ZN3fmt3v126detail15write_nonfiniteIcNS0_14basic_appenderIcEEEET0_S5_bNS0_12format_specsENS0_4signE:
 3810|     94|                                     format_specs specs, sign s) -> OutputIt {
 3811|     94|  auto str =
 3812|     94|      isnan ? (specs.upper() ? "NAN" : "nan") : (specs.upper() ? "INF" : "inf");
  ------------------
  |  Branch (3812:7): [True: 93, False: 1]
  |  Branch (3812:16): [True: 0, False: 93]
  |  Branch (3812:50): [True: 0, False: 1]
  ------------------
 3813|     94|  constexpr size_t str_size = 3;
 3814|     94|  auto size = str_size + (s != sign::none ? 1 : 0);
  ------------------
  |  Branch (3814:27): [True: 82, False: 12]
  ------------------
 3815|       |  // Replace '0'-padding with space for non-finite values.
 3816|     94|  const bool is_zero_fill =
 3817|     94|      specs.fill_size() == 1 && specs.fill_unit<Char>() == '0';
  ------------------
  |  Branch (3817:7): [True: 94, False: 0]
  |  Branch (3817:33): [True: 0, False: 94]
  ------------------
 3818|     94|  if (is_zero_fill) specs.set_fill(' ');
  ------------------
  |  Branch (3818:7): [True: 0, False: 94]
  ------------------
 3819|     94|  return write_padded<Char, align::right>(
 3820|     94|      out, specs, size, [=](reserve_iterator<OutputIt> it) {
 3821|     94|        if (s != sign::none) *it++ = detail::getsign<Char>(s);
 3822|     94|        return copy<Char>(str, str + str_size, it);
 3823|     94|      });
 3824|     94|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_15write_nonfiniteIcS5_EET0_S7_bNS0_12format_specsENS0_4signEEUlS5_E_EET1_SB_RKS8_mOT2_:
 3154|     94|                            size_t size, F&& f) -> OutputIt {
 3155|     94|  return write_padded<Char, default_align>(out, specs, size, size, f);
 3156|     94|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_15write_nonfiniteIcS5_EET0_S7_bNS0_12format_specsENS0_4signEEUlS5_E_EET1_SC_RKS8_mmOT2_:
 3133|     94|                                size_t size, size_t width, F&& f) -> OutputIt {
 3134|     94|  static_assert(default_align == align::left || default_align == align::right,
 3135|     94|                "");
 3136|     94|  unsigned spec_width = to_unsigned(specs.width);
 3137|     94|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (3137:20): [True: 0, False: 94]
  ------------------
 3138|       |  // Shifts are encoded as string literals because static constexpr is not
 3139|       |  // supported in constexpr functions.
 3140|     94|  auto* shifts =
 3141|     94|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (3141:7): [Folded, False: 94]
  ------------------
 3142|     94|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 3143|     94|  size_t right_padding = padding - left_padding;
 3144|     94|  auto it = reserve(out, size + padding * specs.fill_size());
 3145|     94|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (3145:7): [True: 0, False: 94]
  ------------------
 3146|     94|  it = f(it);
 3147|     94|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (3147:7): [True: 0, False: 94]
  ------------------
 3148|     94|  return base_iterator(out, it);
 3149|     94|}
_ZZN3fmt3v126detail15write_nonfiniteIcNS0_14basic_appenderIcEEEET0_S5_bNS0_12format_specsENS0_4signEENKUlS4_E_clES4_:
 3820|     94|      out, specs, size, [=](reserve_iterator<OutputIt> it) {
 3821|     94|        if (s != sign::none) *it++ = detail::getsign<Char>(s);
  ------------------
  |  Branch (3821:13): [True: 82, False: 12]
  ------------------
 3822|     94|        return copy<Char>(str, str + str_size, it);
 3823|     94|      });
_ZN3fmt3v126detail8basic_fpIoEC2Ev:
 3060|    629|  constexpr basic_fp() : f(0), e(0) {}
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEEC2ERKS4_:
 2348|  2.51k|      : detail::buffer<T>(grow), alloc_(alloc) {
 2349|  2.51k|    this->set(store_, SIZE);
 2350|  2.51k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (2350:9): [Folded, False: 2.51k]
  ------------------
 2351|  2.51k|  }
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEEC2EOS5_:
 2398|  3.37k|      : detail::buffer<T>(grow) {
 2399|  3.37k|    move(other);
 2400|  3.37k|  }
_ZN3fmt3v1219basic_memory_bufferIjLm32ENS0_6detail9allocatorIjEEED2Ev:
 2352|  5.88k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v126detail11write_floatIcNS0_14basic_appenderIcEENS1_14big_decimal_fpEEET0_S6_RKT1_RKNS0_12format_specsENS0_4signEiNS0_10locale_refE:
 4066|    630|                                 int exp_upper, locale_ref loc) -> OutputIt {
 4067|    630|  if (is_constant_evaluated() || !FMT_USE_LOCALE) {
  ------------------
  |  |  919|      0|#  define FMT_USE_LOCALE (FMT_OPTIMIZE_SIZE <= 1)
  |  |  ------------------
  |  |  |  |  318|      0|#  define FMT_OPTIMIZE_SIZE 0
  |  |  ------------------
  ------------------
  |  Branch (4067:7): [Folded, False: 0]
  |  Branch (4067:34): [Folded, False: 0]
  ------------------
 4068|      0|    return do_write_float<Char, fallback_digit_grouping<Char>>(out, f, specs, s,
 4069|      0|                                                               exp_upper, loc);
 4070|    630|  } else {
 4071|    630|    return do_write_float<Char, digit_grouping<Char>>(out, f, specs, s,
 4072|    630|                                                      exp_upper, loc);
 4073|    630|  }
 4074|    630|}
_ZN3fmt3v126detail14do_write_floatIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_RKNS0_12format_specsENS0_4signEiNS0_10locale_refE:
 4026|    630|                                    int exp_upper, locale_ref loc) -> OutputIt {
 4027|    630|  bool localized = FMT_USE_LOCALE && specs.localized();
  ------------------
  |  |  919|  1.26k|#  define FMT_USE_LOCALE (FMT_OPTIMIZE_SIZE <= 1)
  |  |  ------------------
  |  |  |  |  318|    630|#  define FMT_OPTIMIZE_SIZE 0
  |  |  ------------------
  |  |  |  Branch (919:26): [True: 630, Folded]
  |  |  ------------------
  ------------------
  |  Branch (4027:38): [True: 0, False: 630]
  ------------------
 4028|    630|  Char point = localized ? detail::decimal_point<Char>(loc) : Char('.');
  ------------------
  |  Branch (4028:16): [True: 0, False: 630]
  ------------------
 4029|    630|  int significand_size = get_significand_size(f);
 4030|    630|  int exp = f.exponent + significand_size - 1;
 4031|    630|  if (specs.type() == presentation_type::fixed ||
  ------------------
  |  Branch (4031:7): [True: 0, False: 630]
  ------------------
 4032|    630|      (specs.type() != presentation_type::exp &&
  ------------------
  |  Branch (4032:8): [True: 630, False: 0]
  ------------------
 4033|    630|       use_fixed(exp, specs.precision > 0 ? specs.precision : exp_upper))) {
  ------------------
  |  Branch (4033:8): [True: 202, False: 428]
  |  Branch (4033:23): [True: 630, False: 0]
  ------------------
 4034|    202|    return write_fixed<Char, Grouping>(out, f, significand_size, point, specs,
 4035|    202|                                       s, loc);
 4036|    202|  }
 4037|       |
 4038|       |  // Write value in the exponential format.
 4039|    428|  int num_zeros = 0;
 4040|    428|  long long size = significand_size + (s != sign::none ? 1 : 0);
  ------------------
  |  Branch (4040:40): [True: 129, False: 299]
  ------------------
 4041|    428|  if (specs.alt()) {
  ------------------
  |  Branch (4041:7): [True: 0, False: 428]
  ------------------
 4042|      0|    num_zeros = max_of(specs.precision - significand_size, 0);
 4043|      0|    size += num_zeros;
 4044|    428|  } else if (significand_size == 1) {
  ------------------
  |  Branch (4044:14): [True: 0, False: 428]
  ------------------
 4045|      0|    point = Char();
 4046|      0|  }
 4047|    428|  size += (point ? 1 : 0) + compute_exp_size(exp);
  ------------------
  |  Branch (4047:12): [True: 428, False: 0]
  ------------------
 4048|    428|  char exp_char = specs.upper() ? 'E' : 'e';
  ------------------
  |  Branch (4048:19): [True: 0, False: 428]
  ------------------
 4049|    428|  auto write = [=](reserve_iterator<OutputIt> it) {
 4050|    428|    if (s != sign::none) *it++ = detail::getsign<Char>(s);
 4051|       |    // Insert a decimal point after the first digit and add an exponent.
 4052|    428|    it = write_significand(it, f.significand, significand_size, 1, point);
 4053|    428|    if (num_zeros > 0) it = detail::fill_n(it, num_zeros, Char('0'));
 4054|    428|    *it++ = Char(exp_char);
 4055|    428|    return write_exponent<Char>(exp, it);
 4056|    428|  };
 4057|    428|  size_t usize = static_cast<size_t>(size);
 4058|    428|  return specs.width > 0
  ------------------
  |  Branch (4058:10): [True: 0, False: 428]
  ------------------
 4059|    428|             ? write_padded<Char, align::right>(out, specs, usize, write)
 4060|    428|             : base_iterator(out, write(reserve(out, usize)));
 4061|    630|}
_ZN3fmt3v126detail11write_fixedIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refE:
 3962|    202|                                 locale_ref loc = {}) -> OutputIt {
 3963|    202|  using iterator = reserve_iterator<OutputIt>;
 3964|       |
 3965|    202|  const bool fixed = specs.type() == presentation_type::fixed;
 3966|    202|  int exp = f.exponent + significand_size;
 3967|    202|  long long size = significand_size + (s != sign::none ? 1 : 0);
  ------------------
  |  Branch (3967:40): [True: 72, False: 130]
  ------------------
 3968|    202|  if (f.exponent >= 0) {
  ------------------
  |  Branch (3968:7): [True: 87, False: 115]
  ------------------
 3969|       |    // 1234e5 -> 123400000[.0+]
 3970|     87|    size += f.exponent;
 3971|     87|    int num_zeros = fixed ? specs.precision : specs.precision - exp;
  ------------------
  |  Branch (3971:21): [True: 0, False: 87]
  ------------------
 3972|     87|    abort_fuzzing_if(num_zeros > 5000);
 3973|     87|    if (specs.alt()) size += 1 + max_of(num_zeros, 0);
  ------------------
  |  Branch (3973:9): [True: 0, False: 87]
  ------------------
 3974|     87|    auto grouping = Grouping(loc, specs.localized());
 3975|     87|    size += grouping.count_separators(exp);
 3976|     87|    return write_padded<Char, align::right>(
 3977|     87|        out, specs, static_cast<size_t>(size), [&](iterator it) {
 3978|     87|          if (s != sign::none) *it++ = detail::getsign<Char>(s);
 3979|     87|          it = write_significand<Char>(it, f.significand, significand_size,
 3980|     87|                                       f.exponent, grouping);
 3981|     87|          if (!specs.alt()) return it;
 3982|     87|          *it++ = decimal_point;
 3983|     87|          return num_zeros > 0 ? detail::fill_n(it, num_zeros, Char('0')) : it;
 3984|     87|        });
 3985|     87|  }
 3986|    115|  int num_digits = fixed ? -f.exponent : significand_size;
  ------------------
  |  Branch (3986:20): [True: 0, False: 115]
  ------------------
 3987|    115|  int trailing_zeros =
 3988|    115|      fixed || specs.alt() ? max_of(specs.precision - num_digits, 0) : 0;
  ------------------
  |  Branch (3988:7): [True: 0, False: 115]
  |  Branch (3988:16): [True: 0, False: 115]
  ------------------
 3989|    115|  if (exp > 0) {
  ------------------
  |  Branch (3989:7): [True: 65, False: 50]
  ------------------
 3990|       |    // 1234e-2 -> 12.34[0+]
 3991|     65|    size += 1 + trailing_zeros;
 3992|     65|    auto grouping = Grouping(loc, specs.localized());
 3993|     65|    size += grouping.count_separators(exp);
 3994|     65|    return write_padded<Char, align::right>(
 3995|     65|        out, specs, static_cast<size_t>(size), [&](iterator it) {
 3996|     65|          if (s != sign::none) *it++ = detail::getsign<Char>(s);
 3997|     65|          it = write_significand(it, f.significand, significand_size, exp,
 3998|     65|                                 decimal_point, grouping);
 3999|     65|          return detail::fill_n(it, trailing_zeros, Char('0'));
 4000|     65|        });
 4001|     65|  }
 4002|       |  // 1234e-6 -> 0.001234
 4003|     50|  int num_zeros = -exp;
 4004|     50|  if (significand_size == 0 && specs.precision >= 0 &&
  ------------------
  |  Branch (4004:7): [True: 0, False: 50]
  |  Branch (4004:32): [True: 0, False: 0]
  ------------------
 4005|      0|      specs.precision < num_zeros) {
  ------------------
  |  Branch (4005:7): [True: 0, False: 0]
  ------------------
 4006|      0|    num_zeros = specs.precision;
 4007|      0|  }
 4008|     50|  bool pointy = num_zeros != 0 || significand_size != 0 || specs.alt();
  ------------------
  |  Branch (4008:17): [True: 25, False: 25]
  |  Branch (4008:35): [True: 25, False: 0]
  |  Branch (4008:60): [True: 0, False: 0]
  ------------------
 4009|     50|  size += 1 + (pointy ? 1 : 0) + num_zeros + trailing_zeros;
  ------------------
  |  Branch (4009:16): [True: 50, False: 0]
  ------------------
 4010|     50|  return write_padded<Char, align::right>(
 4011|     50|      out, specs, static_cast<size_t>(size), [&](iterator it) {
 4012|     50|        if (s != sign::none) *it++ = detail::getsign<Char>(s);
 4013|     50|        *it++ = Char('0');
 4014|     50|        if (!pointy) return it;
 4015|     50|        *it++ = decimal_point;
 4016|     50|        it = detail::fill_n(it, num_zeros, Char('0'));
 4017|     50|        it = write_significand<Char>(it, f.significand, significand_size);
 4018|     50|        return detail::fill_n(it, trailing_zeros, Char('0'));
 4019|     50|      });
 4020|    115|}
_ZN3fmt3v126detail14digit_groupingIcEC2ENS0_10locale_refEb:
 3346|    152|  explicit digit_grouping(locale_ref loc, bool localized = true) {
 3347|    152|    if (!localized) return;
  ------------------
  |  Branch (3347:9): [True: 152, False: 0]
  ------------------
 3348|      0|    auto sep = thousands_sep<Char>(loc);
 3349|      0|    grouping_ = std::move(sep.grouping);
 3350|      0|    if (sep.thousands_sep) thousands_sep_.assign(1, sep.thousands_sep);
  ------------------
  |  Branch (3350:9): [True: 0, False: 0]
  ------------------
 3351|      0|  }
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 3357|    152|  auto count_separators(int num_digits) const -> int {
 3358|    152|    int count = 0;
 3359|    152|    auto state = initial_state();
 3360|    152|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (3360:12): [True: 0, False: 152]
  ------------------
 3361|    152|    return count;
 3362|    152|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 3333|    152|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 3336|    152|  auto next(next_state& state) const -> int {
 3337|    152|    if (thousands_sep_.empty() || grouping_.empty()) return max_value<int>();
  ------------------
  |  Branch (3337:9): [True: 152, False: 0]
  |  Branch (3337:35): [True: 0, False: 0]
  ------------------
 3338|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (3338:9): [True: 0, False: 0]
  ------------------
 3339|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (3339:9): [True: 0, False: 0]
  |  Branch (3339:30): [True: 0, False: 0]
  ------------------
 3340|      0|      return max_value<int>();
 3341|      0|    state.pos += *state.group++;
 3342|      0|    return state.pos;
 3343|      0|  }
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E_EESA_SA_SH_mOSB_:
 3154|     87|                            size_t size, F&& f) -> OutputIt {
 3155|     87|  return write_padded<Char, default_align>(out, specs, size, size, f);
 3156|     87|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E_EESA_SA_SH_mmOSB_:
 3133|     87|                                size_t size, size_t width, F&& f) -> OutputIt {
 3134|     87|  static_assert(default_align == align::left || default_align == align::right,
 3135|     87|                "");
 3136|     87|  unsigned spec_width = to_unsigned(specs.width);
 3137|     87|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (3137:20): [True: 0, False: 87]
  ------------------
 3138|       |  // Shifts are encoded as string literals because static constexpr is not
 3139|       |  // supported in constexpr functions.
 3140|     87|  auto* shifts =
 3141|     87|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (3141:7): [Folded, False: 87]
  ------------------
 3142|     87|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 3143|     87|  size_t right_padding = padding - left_padding;
 3144|     87|  auto it = reserve(out, size + padding * specs.fill_size());
 3145|     87|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (3145:7): [True: 0, False: 87]
  ------------------
 3146|     87|  it = f(it);
 3147|     87|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (3147:7): [True: 0, False: 87]
  ------------------
 3148|     87|  return base_iterator(out, it);
 3149|     87|}
_ZZN3fmt3v126detail11write_fixedIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEENKUlS6_E_clES6_:
 3977|     87|        out, specs, static_cast<size_t>(size), [&](iterator it) {
 3978|     87|          if (s != sign::none) *it++ = detail::getsign<Char>(s);
  ------------------
  |  Branch (3978:15): [True: 29, False: 58]
  ------------------
 3979|     87|          it = write_significand<Char>(it, f.significand, significand_size,
 3980|     87|                                       f.exponent, grouping);
 3981|     87|          if (!specs.alt()) return it;
  ------------------
  |  Branch (3981:15): [True: 87, False: 0]
  ------------------
 3982|      0|          *it++ = decimal_point;
 3983|      0|          return num_zeros > 0 ? detail::fill_n(it, num_zeros, Char('0')) : it;
  ------------------
  |  Branch (3983:18): [True: 0, False: 0]
  ------------------
 3984|     87|        });
_ZN3fmt3v126detail17write_significandIcNS0_14basic_appenderIcEEPKcNS1_14digit_groupingIcEEEET0_S9_T1_iiRKT2_:
 3854|     87|                                       const Grouping& grouping) -> OutputIt {
 3855|     87|  if (!grouping.has_separator()) {
  ------------------
  |  Branch (3855:7): [True: 87, False: 0]
  ------------------
 3856|     87|    out = write_significand<Char>(out, significand, significand_size);
 3857|     87|    return detail::fill_n(out, exponent, static_cast<Char>('0'));
 3858|     87|  }
 3859|      0|  auto buffer = memory_buffer();
 3860|      0|  write_significand<char>(appender(buffer), significand, significand_size);
 3861|      0|  detail::fill_n(appender(buffer), exponent, '0');
 3862|      0|  return grouping.apply(out, string_view(buffer.data(), buffer.size()));
 3863|     87|}
_ZNK3fmt3v126detail14digit_groupingIcE13has_separatorEv:
 3355|    152|  auto has_separator() const -> bool { return !thousands_sep_.empty(); }
_ZN3fmt3v126detail17write_significandIcNS0_14basic_appenderIcEEEET0_S5_PKci:
 3843|    137|                                 int significand_size) -> OutputIt {
 3844|    137|  return copy<Char>(significand, significand + significand_size, out);
 3845|    137|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E0_EESA_SA_SH_mOSB_:
 3154|     65|                            size_t size, F&& f) -> OutputIt {
 3155|     65|  return write_padded<Char, default_align>(out, specs, size, size, f);
 3156|     65|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E0_EESA_SA_SH_mmOSB_:
 3133|     65|                                size_t size, size_t width, F&& f) -> OutputIt {
 3134|     65|  static_assert(default_align == align::left || default_align == align::right,
 3135|     65|                "");
 3136|     65|  unsigned spec_width = to_unsigned(specs.width);
 3137|     65|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (3137:20): [True: 0, False: 65]
  ------------------
 3138|       |  // Shifts are encoded as string literals because static constexpr is not
 3139|       |  // supported in constexpr functions.
 3140|     65|  auto* shifts =
 3141|     65|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (3141:7): [Folded, False: 65]
  ------------------
 3142|     65|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 3143|     65|  size_t right_padding = padding - left_padding;
 3144|     65|  auto it = reserve(out, size + padding * specs.fill_size());
 3145|     65|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (3145:7): [True: 0, False: 65]
  ------------------
 3146|     65|  it = f(it);
 3147|     65|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (3147:7): [True: 0, False: 65]
  ------------------
 3148|     65|  return base_iterator(out, it);
 3149|     65|}
_ZZN3fmt3v126detail11write_fixedIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEENKUlS6_E0_clES6_:
 3995|     65|        out, specs, static_cast<size_t>(size), [&](iterator it) {
 3996|     65|          if (s != sign::none) *it++ = detail::getsign<Char>(s);
  ------------------
  |  Branch (3996:15): [True: 11, False: 54]
  ------------------
 3997|     65|          it = write_significand(it, f.significand, significand_size, exp,
 3998|     65|                                 decimal_point, grouping);
 3999|     65|          return detail::fill_n(it, trailing_zeros, Char('0'));
 4000|     65|        });
_ZN3fmt3v126detail17write_significandINS0_14basic_appenderIcEEcPKcNS1_14digit_groupingIcEEEET_S9_T1_iiT0_RKT2_:
 3915|     65|                                       const Grouping& grouping) -> OutputIt {
 3916|     65|  if (!grouping.has_separator()) {
  ------------------
  |  Branch (3916:7): [True: 65, False: 0]
  ------------------
 3917|     65|    return write_significand(out, significand, significand_size, integral_size,
 3918|     65|                             decimal_point);
 3919|     65|  }
 3920|      0|  auto buffer = basic_memory_buffer<Char>();
 3921|      0|  write_significand(basic_appender<Char>(buffer), significand, significand_size,
 3922|      0|                    integral_size, decimal_point);
 3923|      0|  grouping.apply(
 3924|      0|      out, basic_string_view<Char>(buffer.data(), to_unsigned(integral_size)));
 3925|      0|  return detail::copy_noinline<Char>(buffer.data() + integral_size,
 3926|      0|                                     buffer.end(), out);
 3927|     65|}
_ZN3fmt3v126detail17write_significandINS0_14basic_appenderIcEEcEET_S5_PKciiT0_:
 3902|    493|                                     Char decimal_point) -> OutputIt {
 3903|    493|  out = detail::copy_noinline<Char>(significand, significand + integral_size,
 3904|    493|                                    out);
 3905|    493|  if (!decimal_point) return out;
  ------------------
  |  Branch (3905:7): [True: 0, False: 493]
  ------------------
 3906|    493|  *out++ = decimal_point;
 3907|    493|  return detail::copy_noinline<Char>(significand + integral_size,
 3908|    493|                                     significand + significand_size, out);
 3909|    493|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
 1915|  2.43k|                                              OutputIt out) -> OutputIt {
 1916|  2.43k|  return copy<OutChar>(begin, end, out);
 1917|  2.43k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E1_EESA_SA_SH_mOSB_:
 3154|     50|                            size_t size, F&& f) -> OutputIt {
 3155|     50|  return write_padded<Char, default_align>(out, specs, size, size, f);
 3156|     50|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_11write_fixedIcNS1_14digit_groupingIcEES5_NS1_14big_decimal_fpEEET1_SA_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEEUlS5_E1_EESA_SA_SH_mmOSB_:
 3133|     50|                                size_t size, size_t width, F&& f) -> OutputIt {
 3134|     50|  static_assert(default_align == align::left || default_align == align::right,
 3135|     50|                "");
 3136|     50|  unsigned spec_width = to_unsigned(specs.width);
 3137|     50|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (3137:20): [True: 0, False: 50]
  ------------------
 3138|       |  // Shifts are encoded as string literals because static constexpr is not
 3139|       |  // supported in constexpr functions.
 3140|     50|  auto* shifts =
 3141|     50|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (3141:7): [Folded, False: 50]
  ------------------
 3142|     50|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 3143|     50|  size_t right_padding = padding - left_padding;
 3144|     50|  auto it = reserve(out, size + padding * specs.fill_size());
 3145|     50|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (3145:7): [True: 0, False: 50]
  ------------------
 3146|     50|  it = f(it);
 3147|     50|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (3147:7): [True: 0, False: 50]
  ------------------
 3148|     50|  return base_iterator(out, it);
 3149|     50|}
_ZZN3fmt3v126detail11write_fixedIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_iT_RKNS0_12format_specsENS0_4signENS0_10locale_refEENKUlS6_E1_clES6_:
 4011|     50|      out, specs, static_cast<size_t>(size), [&](iterator it) {
 4012|     50|        if (s != sign::none) *it++ = detail::getsign<Char>(s);
  ------------------
  |  Branch (4012:13): [True: 32, False: 18]
  ------------------
 4013|     50|        *it++ = Char('0');
 4014|     50|        if (!pointy) return it;
  ------------------
  |  Branch (4014:13): [True: 0, False: 50]
  ------------------
 4015|     50|        *it++ = decimal_point;
 4016|     50|        it = detail::fill_n(it, num_zeros, Char('0'));
 4017|     50|        it = write_significand<Char>(it, f.significand, significand_size);
 4018|     50|        return detail::fill_n(it, trailing_zeros, Char('0'));
 4019|     50|      });
_ZZN3fmt3v126detail14do_write_floatIcNS1_14digit_groupingIcEENS0_14basic_appenderIcEENS1_14big_decimal_fpEEET1_S8_RKT2_RKNS0_12format_specsENS0_4signEiNS0_10locale_refEENKUlS6_E_clES6_:
 4049|    428|  auto write = [=](reserve_iterator<OutputIt> it) {
 4050|    428|    if (s != sign::none) *it++ = detail::getsign<Char>(s);
  ------------------
  |  Branch (4050:9): [True: 129, False: 299]
  ------------------
 4051|       |    // Insert a decimal point after the first digit and add an exponent.
 4052|    428|    it = write_significand(it, f.significand, significand_size, 1, point);
 4053|    428|    if (num_zeros > 0) it = detail::fill_n(it, num_zeros, Char('0'));
  ------------------
  |  Branch (4053:9): [True: 0, False: 428]
  ------------------
 4054|    428|    *it++ = Char(exp_char);
 4055|    428|    return write_exponent<Char>(exp, it);
 4056|    428|  };
_ZN3fmt3v126detail14write_exponentIcNS0_14basic_appenderIcEEEET0_iS5_:
 3030|    428|FMT_CONSTEXPR auto write_exponent(int exp, OutputIt out) -> OutputIt {
 3031|    428|  FMT_ASSERT(-10000 < exp && exp < 10000, "exponent out of range");
  ------------------
  |  |  419|    856|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (419:7): [True: 428, False: 0]
  |  |  |  Branch (419:7): [True: 428, False: 0]
  |  |  ------------------
  |  |  420|    428|         ? (void)0                                                          \
  |  |  421|    428|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 3032|    428|  if (exp < 0) {
  ------------------
  |  Branch (3032:7): [True: 305, False: 123]
  ------------------
 3033|    305|    *out++ = static_cast<Char>('-');
 3034|    305|    exp = -exp;
 3035|    305|  } else {
 3036|    123|    *out++ = static_cast<Char>('+');
 3037|    123|  }
 3038|    428|  auto uexp = static_cast<uint32_t>(exp);
 3039|    428|  if (is_constant_evaluated()) {
  ------------------
  |  Branch (3039:7): [Folded, False: 428]
  ------------------
 3040|      0|    if (uexp < 10) *out++ = '0';
  ------------------
  |  Branch (3040:9): [True: 0, False: 0]
  ------------------
 3041|      0|    return format_decimal<Char>(out, uexp, count_digits(uexp));
 3042|      0|  }
 3043|    428|  if (uexp >= 100u) {
  ------------------
  |  Branch (3043:7): [True: 342, False: 86]
  ------------------
 3044|    342|    const char* top = digits2(uexp / 100);
 3045|    342|    if (uexp >= 1000u) *out++ = static_cast<Char>(top[0]);
  ------------------
  |  Branch (3045:9): [True: 0, False: 342]
  ------------------
 3046|    342|    *out++ = static_cast<Char>(top[1]);
 3047|    342|    uexp %= 100;
 3048|    342|  }
 3049|    428|  const char* d = digits2(uexp);
 3050|    428|  *out++ = static_cast<Char>(d[0]);
 3051|    428|  *out++ = static_cast<Char>(d[1]);
 3052|    428|  return out;
 3053|    428|}
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 4991|  1.44k|  void on_text(const Char* begin, const Char* end) {
 4992|  1.44k|    copy_noinline<Char>(begin, end, ctx.out());
 4993|  1.44k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 4995|    724|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 5012|    724|      -> const Char* {
 5013|    724|    auto arg = ctx.arg(id);
 5014|    724|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (5014:9): [True: 0, False: 724]
  ------------------
 5015|       |    // Not using a visitor for custom types gives better codegen.
 5016|    724|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (5016:9): [True: 0, False: 724]
  ------------------
 5017|       |
 5018|    724|    auto specs = dynamic_format_specs<Char>();
 5019|    724|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 5020|    724|    if (specs.dynamic()) {
  ------------------
  |  Branch (5020:9): [True: 0, False: 724]
  ------------------
 5021|      0|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 5022|      0|                          ctx);
 5023|      0|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 5024|      0|                          specs.precision_ref, ctx);
 5025|      0|    }
 5026|       |
 5027|    724|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 5028|    724|    return begin;
 5029|    724|  }
_ZN3fmt3v126detail8bit_castImdTnNSt3__19enable_ifIXeqstT_stT0_EiE4typeELi0EEES5_RKS6_:
 1629|    629|FMT_CONSTEXPR20 auto bit_cast(const From& from) -> To {
 1630|       |#ifdef __cpp_lib_bit_cast
 1631|       |  if (is_constant_evaluated()) return std::bit_cast<To>(from);
 1632|       |#endif
 1633|    629|  auto to = To();
 1634|       |  // The cast suppresses a bogus -Wclass-memaccess on GCC.
 1635|    629|  memcpy(static_cast<void*>(&to), &from, sizeof(to));
 1636|    629|  return to;
 1637|    629|}
_ZN3fmt3v126detail13exponent_maskIdEENSt3__111conditionalIXlestT_Li4EEjNS4_IXlestS5_Li8EEmoE4typeEE4typeEv:
 3015|    629|constexpr auto exponent_mask() -> carrier_uint_t<Float> {
 3016|    629|  return carrier_uint_t<Float>(
 3017|    629|             static_cast<unsigned>(2 * exponent_bias<Float>() + 1))
 3018|    629|         << num_significand_bits<Float>();
 3019|    629|}
_ZN3fmt3v126detail20num_significand_bitsIdEEiv:
 3000|    629|template <typename Float> constexpr auto num_significand_bits() -> int {
 3001|       |  // std::numeric_limits may not support __float128.
 3002|    629|  return is_float128<Float>() ? 112
  ------------------
  |  Branch (3002:10): [Folded, False: 629]
  ------------------
 3003|    629|                              : (std::numeric_limits<Float>::digits -
 3004|    629|                                 (has_implicit_bit<Float>() ? 1 : 0));
  ------------------
  |  Branch (3004:35): [True: 629, Folded]
  ------------------
 3005|    629|}
_ZN3fmt3v126detail13exponent_biasIdEEiv:
 3007|  1.25k|template <typename Float> constexpr auto exponent_bias() -> int {
 3008|       |  // std::numeric_limits may not support __float128.
 3009|  1.25k|  return is_float128<Float>() ? 16383
  ------------------
  |  Branch (3009:10): [Folded, False: 1.25k]
  ------------------
 3010|  1.25k|                              : std::numeric_limits<Float>::max_exponent - 1;
 3011|  1.25k|}
_ZN3fmt3v126detail12format_floatIdEEiT_iRKNS0_12format_specsEbRNS1_6bufferIcEE:
 4618|    630|                                  buffer<char>& buf) -> int {
 4619|       |  // float is passed as double to reduce the number of instantiations.
 4620|    630|  static_assert(!std::is_same<Float, float>::value, "");
 4621|    630|  auto converted_value = convert_float(value);
 4622|       |
 4623|    630|  const bool fixed = specs.type() == presentation_type::fixed;
 4624|    630|  if (value == 0) {
  ------------------
  |  Branch (4624:7): [True: 1, False: 629]
  ------------------
 4625|      1|    if (precision <= 0 || !fixed) {
  ------------------
  |  Branch (4625:9): [True: 0, False: 1]
  |  Branch (4625:27): [True: 1, False: 0]
  ------------------
 4626|      1|      buf.push_back('0');
 4627|      1|      return 0;
 4628|      1|    }
 4629|      0|    buf.try_resize(to_unsigned(precision));
 4630|      0|    fill_n(buf.data(), precision, '0');
 4631|      0|    return -precision;
 4632|      1|  }
 4633|       |
 4634|    629|  int exp = 0;
 4635|    629|  bool use_dragon = true;
 4636|    629|  unsigned dragon_flags = 0;
 4637|    629|  if (!is_fast_float<Float>() || is_constant_evaluated()) {
  ------------------
  |  Branch (4637:7): [Folded, False: 0]
  |  Branch (4637:7): [Folded, False: 629]
  |  Branch (4637:34): [Folded, False: 0]
  ------------------
 4638|      0|    const auto inv_log2_10 = 0.3010299956639812;  // 1 / log2(10)
 4639|      0|    const auto f =
 4640|      0|        basic_fp<carrier_uint_t<decltype(converted_value)>>(converted_value);
 4641|       |    // Compute exp, an approximate power of 10, such that
 4642|       |    //   10^(exp - 1) <= value < 10^exp or 10^exp <= value < 10^(exp + 1).
 4643|       |    // This is based on log10(value) == log2(value) / log2(10) and approximation
 4644|       |    // of log2(value) by e + num_fraction_bits idea from double-conversion.
 4645|      0|    auto e = (f.e + count_digits<1>(f.f) - 1) * inv_log2_10 - 1e-10;
 4646|      0|    exp = static_cast<int>(e);
 4647|      0|    if (e > exp) ++exp;  // Compute ceil.
  ------------------
  |  Branch (4647:9): [True: 0, False: 0]
  ------------------
 4648|      0|    dragon_flags = dragon::fixup;
 4649|    629|  } else {
 4650|    629|    use_dragon =
 4651|    629|        !format_zmij(static_cast<double>(value), precision, fixed, buf, exp);
 4652|    629|  }
 4653|    629|  if (use_dragon) {
  ------------------
  |  Branch (4653:7): [True: 629, False: 0]
  ------------------
 4654|    629|    auto f = basic_fp<uint128_t>();
 4655|    629|    bool is_predecessor_closer = binary32 ? f.assign(static_cast<float>(value))
  ------------------
  |  Branch (4655:34): [True: 0, False: 629]
  ------------------
 4656|    629|                                          : f.assign(converted_value);
 4657|    629|    if (is_predecessor_closer) dragon_flags |= dragon::predecessor_closer;
  ------------------
  |  Branch (4657:9): [True: 94, False: 535]
  ------------------
 4658|    629|    if (fixed) dragon_flags |= dragon::fixed;
  ------------------
  |  Branch (4658:9): [True: 0, False: 629]
  ------------------
 4659|       |    // Keep the fast double path's significant-digit limit.
 4660|    629|    int max_precision = 767;
 4661|    629|    if ((dragon_flags & dragon::fixup) != 0) {
  ------------------
  |  Branch (4661:9): [True: 0, False: 629]
  ------------------
 4662|       |      // Before fixup, fixed precision counts fractional places rather than
 4663|       |      // significant digits. f * 2^e has at most max(-e, 0) fractional places,
 4664|       |      // and its significant digits are bounded by |e| + the bit length of f.
 4665|      0|      max_precision = fixed ? (f.e < 0 ? -f.e : 0)
  ------------------
  |  Branch (4665:23): [True: 0, False: 0]
  |  Branch (4665:32): [True: 0, False: 0]
  ------------------
 4666|      0|                            : count_digits<1>(f.f) + (f.e < 0 ? -f.e : f.e);
  ------------------
  |  Branch (4666:55): [True: 0, False: 0]
  ------------------
 4667|      0|    }
 4668|    629|    precision = min_of(precision, max_precision);
 4669|    629|    format_dragon(f, dragon_flags, precision, buf, exp);
 4670|    629|  }
 4671|    629|  if (!fixed && !specs.alt()) {
  ------------------
  |  Branch (4671:7): [True: 629, False: 0]
  |  Branch (4671:17): [True: 629, False: 0]
  ------------------
 4672|       |    // Remove trailing zeros.
 4673|    629|    auto num_digits = buf.size();
 4674|  5.22k|    while (num_digits > 0 && buf[num_digits - 1] == '0') {
  ------------------
  |  Branch (4674:12): [True: 5.22k, False: 0]
  |  Branch (4674:30): [True: 4.59k, False: 629]
  ------------------
 4675|  4.59k|      --num_digits;
 4676|  4.59k|      ++exp;
 4677|  4.59k|    }
 4678|    629|    buf.try_resize(num_digits);
 4679|    629|  }
 4680|    629|  return exp;
 4681|    630|}
_ZN3fmt3v126detail13convert_floatIdEENSt3__111conditionalIXoosr3std7is_sameIT_fEE5valueeqcl8num_bitsIS5_EEclL_ZNS1_8num_bitsIdEEivEEEdS5_E4typeES5_:
 3103|  1.26k|constexpr auto convert_float(T value) -> convert_float_result<T> {
 3104|  1.26k|  return static_cast<convert_float_result<T>>(value);
 3105|  1.26k|}
_ZN3fmt3v126detail8basic_fpIoE6assignIdTnNSt3__19enable_ifIXntsr16is_double_doubleIT_EE5valueEiE4typeELi0EEEbS7_:
 3067|    629|  FMT_CONSTEXPR auto assign(Float n) -> bool {
 3068|    629|    static_assert(std::numeric_limits<Float>::digits <= 113, "unsupported FP");
 3069|       |    // Assume Float is in the format [sign][exponent][significand].
 3070|    629|    using carrier_uint = carrier_uint_t<Float>;
 3071|    629|    const auto num_float_significand_bits =
 3072|    629|        detail::num_significand_bits<Float>();
 3073|    629|    const auto implicit_bit = carrier_uint(1) << num_float_significand_bits;
 3074|    629|    const auto significand_mask = implicit_bit - 1;
 3075|    629|    auto u = bit_cast<carrier_uint>(n);
 3076|    629|    f = static_cast<F>(u & significand_mask);
 3077|    629|    auto biased_e = static_cast<int>((u & exponent_mask<Float>()) >>
 3078|    629|                                     num_float_significand_bits);
 3079|       |    // The predecessor is closer if n is a normalized power of 2 (f == 0)
 3080|       |    // other than the smallest normalized number (biased_e > 1).
 3081|    629|    auto is_predecessor_closer = f == 0 && biased_e > 1;
  ------------------
  |  Branch (3081:34): [True: 95, False: 534]
  |  Branch (3081:44): [True: 94, False: 1]
  ------------------
 3082|    629|    if (biased_e == 0)
  ------------------
  |  Branch (3082:9): [True: 158, False: 471]
  ------------------
 3083|    158|      biased_e = 1;  // Subnormals use biased exponent 1 (min exponent).
 3084|    471|    else if (has_implicit_bit<Float>())
  ------------------
  |  Branch (3084:14): [True: 471, Folded]
  ------------------
 3085|    471|      f += static_cast<F>(implicit_bit);
 3086|    629|    e = biased_e - exponent_bias<Float>() - num_float_significand_bits;
 3087|    629|    if (!has_implicit_bit<Float>()) ++e;
  ------------------
  |  Branch (3087:9): [Folded, False: 629]
  ------------------
 3088|    629|    return is_predecessor_closer;
 3089|    629|  }
_ZN3fmt3v126detail13arg_formatterIcEclIdTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 4910|    724|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 4911|    724|    detail::write<Char>(out, value, specs, locale);
 4912|    724|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEdTnNSt3__19enable_ifIXsr17is_floating_pointIT1_EE5valueEiE4typeELi0EEET0_SA_S7_NS0_12format_specsENS0_10locale_refE:
 4686|    724|                           locale_ref loc = {}) -> OutputIt {
 4687|    724|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (4687:7): [True: 0, False: 724]
  |  Branch (4687:7): [True: 0, False: 724]
  |  Branch (4687:28): [True: 0, False: 0]
  ------------------
 4688|       |
 4689|       |  // Use signbit because value < 0 is false for NaN.
 4690|    724|  sign s = detail::signbit(value) ? sign::minus : specs.sign();
  ------------------
  |  Branch (4690:12): [True: 283, False: 441]
  ------------------
 4691|       |
 4692|    724|  if (!detail::isfinite(value))
  ------------------
  |  Branch (4692:7): [True: 94, False: 630]
  ------------------
 4693|     94|    return write_nonfinite<Char>(out, detail::isnan(value), specs, s);
 4694|       |
 4695|    630|  if (specs.align() == align::numeric && s != sign::none) {
  ------------------
  |  Branch (4695:7): [True: 0, False: 630]
  |  Branch (4695:42): [True: 0, False: 0]
  ------------------
 4696|      0|    *out++ = detail::getsign<Char>(s);
 4697|      0|    s = sign::none;
 4698|      0|    if (specs.width != 0) --specs.width;
  ------------------
  |  Branch (4698:9): [True: 0, False: 0]
  ------------------
 4699|      0|  }
 4700|       |
 4701|    630|  const int exp_upper = detail::exp_upper<T>();
 4702|    630|  int precision = specs.precision;
 4703|    630|  if (precision < 0) {
  ------------------
  |  Branch (4703:7): [True: 0, False: 630]
  ------------------
 4704|      0|    if (specs.type() != presentation_type::none) {
  ------------------
  |  Branch (4704:9): [True: 0, False: 0]
  ------------------
 4705|      0|      precision = 6;
 4706|      0|    } else if (is_fast_float<T>::value && !is_constant_evaluated()) {
  ------------------
  |  Branch (4706:16): [True: 0, Folded]
  |  Branch (4706:43): [True: 0, Folded]
  ------------------
 4707|       |      // Use the shortest representation that round-trips.
 4708|      0|      auto dec = to_decimal(static_cast<fast_float_t<T>>(value));
 4709|      0|      return write_float<Char>(out, dec, specs, s, exp_upper, loc);
 4710|      0|    }
 4711|      0|  }
 4712|       |
 4713|    630|  memory_buffer buffer;
 4714|    630|  if (specs.type() == presentation_type::hexfloat) {
  ------------------
  |  Branch (4714:7): [True: 0, False: 630]
  ------------------
 4715|      0|    if (s != sign::none) buffer.push_back(detail::getsign<char>(s));
  ------------------
  |  Branch (4715:9): [True: 0, False: 0]
  ------------------
 4716|      0|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (4716:9): [True: 0, False: 0]
  ------------------
 4717|       |      // Write the prefix before the padding.
 4718|      0|      *out++ = static_cast<Char>('0');
 4719|      0|      *out++ = static_cast<Char>(specs.upper() ? 'X' : 'x');
  ------------------
  |  Branch (4719:34): [True: 0, False: 0]
  ------------------
 4720|      0|      specs.width -= min_of(specs.width, 2);
 4721|      0|    } else {
 4722|      0|      buffer.push_back('0');
 4723|      0|      buffer.push_back(specs.upper() ? 'X' : 'x');
  ------------------
  |  Branch (4723:24): [True: 0, False: 0]
  ------------------
 4724|      0|    }
 4725|      0|    format_hexfloat(convert_float(value), specs, buffer);
 4726|      0|    return write_hexfloat<Char>(out, {buffer.data(), buffer.size()}, specs,
 4727|      0|                                loc);
 4728|      0|  }
 4729|       |
 4730|    630|  if (specs.type() == presentation_type::exp) {
  ------------------
  |  Branch (4730:7): [True: 0, False: 630]
  ------------------
 4731|      0|    if (precision == max_value<int>())
  ------------------
  |  Branch (4731:9): [True: 0, False: 0]
  ------------------
 4732|      0|      report_error("number is too big");
 4733|      0|    else
 4734|      0|      ++precision;
 4735|      0|    if (specs.precision != 0) specs.set_alt();
  ------------------
  |  Branch (4735:9): [True: 0, False: 0]
  ------------------
 4736|    630|  } else if (specs.type() == presentation_type::fixed) {
  ------------------
  |  Branch (4736:14): [True: 0, False: 630]
  ------------------
 4737|      0|    if (specs.precision != 0) specs.set_alt();
  ------------------
  |  Branch (4737:9): [True: 0, False: 0]
  ------------------
 4738|    630|  } else if (precision == 0) {
  ------------------
  |  Branch (4738:14): [True: 0, False: 630]
  ------------------
 4739|      0|    precision = 1;
 4740|      0|  }
 4741|    630|  int exp = format_float(convert_float(value), precision, specs,
 4742|    630|                         std::is_same<T, float>(), buffer);
 4743|       |
 4744|    630|  specs.precision = precision;
 4745|    630|  auto f = big_decimal_fp{buffer.data(), static_cast<int>(buffer.size()), exp};
 4746|    630|  return write_float<Char>(out, f, specs, s, exp_upper, loc);
 4747|    630|}
_ZN3fmt3v126detail7signbitIdTnNSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEiE4typeELi0EEEbS5_:
 4103|    724|FMT_INLINE FMT_CONSTEXPR auto signbit(T value) -> bool {
 4104|    724|  if (is_constant_evaluated()) {
  ------------------
  |  Branch (4104:7): [Folded, False: 724]
  ------------------
 4105|       |#ifdef __cpp_if_constexpr
 4106|       |    if constexpr (std::numeric_limits<double>::is_iec559) {
 4107|       |      auto bits = detail::bit_cast<uint64_t>(static_cast<double>(value));
 4108|       |      return (bits >> (num_bits<uint64_t>() - 1)) != 0;
 4109|       |    }
 4110|       |#endif
 4111|      0|  }
 4112|    724|  return std::signbit(static_cast<double>(value));
 4113|    724|}
_ZN3fmt3v126detail8isfiniteIdTnNSt3__19enable_ifIXaasr17is_floating_pointIT_EE5valuesr12has_isfiniteIS5_EE5valueEiE4typeELi0EEEbS5_:
 4089|    724|FMT_CONSTEXPR20 auto isfinite(T value) -> bool {
 4090|    724|  constexpr T inf = T(std::numeric_limits<double>::infinity());
 4091|    724|  if (is_constant_evaluated())
  ------------------
  |  Branch (4091:7): [Folded, False: 724]
  ------------------
 4092|      0|    return !detail::isnan(value) && value < inf && value > -inf;
  ------------------
  |  Branch (4092:12): [True: 0, False: 0]
  |  Branch (4092:37): [True: 0, False: 0]
  |  Branch (4092:52): [True: 0, False: 0]
  ------------------
 4093|    724|  return std::isfinite(value);
 4094|    724|}
_ZN3fmt3v126detail5isnanIdEEbT_:
 4076|     94|template <typename T> constexpr auto isnan(T value) -> bool {
 4077|     94|  return value != value;  // std::isnan doesn't support __float128.
 4078|     94|}
_ZN3fmt3v126detail9exp_upperIdEEiv:
 3931|    630|template <typename T> FMT_CONSTEVAL auto exp_upper() -> int {
 3932|    630|  return std::numeric_limits<T>::digits10 != 0
  ------------------
  |  Branch (3932:10): [True: 630, Folded]
  ------------------
 3933|    630|             ? min_of(16, std::numeric_limits<T>::digits10 + 1)
 3934|    630|             : 16;
 3935|    630|}

_Z16check_round_tripN3fmt3v1217basic_string_viewIcEEd:
   14|  1.44k|void check_round_trip(fmt::string_view format_str, double value) {
   15|  1.44k|  auto buffer = fmt::memory_buffer();
   16|  1.44k|  fmt::format_to(std::back_inserter(buffer), format_str, value);
   17|       |
   18|  1.44k|  if (std::isnan(value)) {
  ------------------
  |  Branch (18:7): [True: 186, False: 1.26k]
  ------------------
   19|    186|    auto nan = std::signbit(value) ? "-nan" : "nan";
  ------------------
  |  Branch (19:16): [True: 162, False: 24]
  ------------------
   20|    186|    if (fmt::string_view(buffer.data(), buffer.size()) != nan)
  ------------------
  |  Branch (20:9): [True: 0, False: 186]
  ------------------
   21|      0|      throw std::runtime_error("round trip failure");
   22|    186|    return;
   23|    186|  }
   24|       |
   25|  1.26k|  buffer.push_back('\0');
   26|  1.26k|  char* ptr = nullptr;
   27|  1.26k|  if (std::strtod(buffer.data(), &ptr) != value)
  ------------------
  |  Branch (27:7): [True: 0, False: 1.26k]
  ------------------
   28|      0|    throw std::runtime_error("round trip failure");
   29|  1.26k|  if (ptr + 1 != buffer.end()) throw std::runtime_error("unparsed output");
  ------------------
  |  Branch (29:7): [True: 0, False: 1.26k]
  ------------------
   30|  1.26k|}
LLVMFuzzerTestOneInput:
   32|    729|extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   33|    729|  if (size <= sizeof(double) || !std::numeric_limits<double>::is_iec559)
  ------------------
  |  Branch (33:7): [True: 5, False: 724]
  |  Branch (33:33): [Folded, False: 0]
  ------------------
   34|      5|    return 0;
   35|    724|  check_round_trip("{}", assign_from_buf<double>(data));
   36|       |  // A larger than necessary precision is used to trigger the fallback
   37|       |  // formatter.
   38|    724|  check_round_trip("{:.50g}", assign_from_buf<double>(data));
   39|    724|  return 0;
   40|    729|}

_Z15assign_from_bufIdET_PKh:
   42|  1.44k|template <class Item> inline Item assign_from_buf(const std::uint8_t* data) {
   43|  1.44k|  auto item = Item();
   44|  1.44k|  std::memcpy(&item, data, sizeof(Item));
   45|  1.44k|  return item;
   46|  1.44k|}

