From 864b9a2202817e0315d8598f28997c13c694ca65 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 4 Feb 2019 08:29:39 -0800 Subject: [PATCH] Correct the comment --- include/fmt/format-inl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index d5a88482..6de18134 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -470,9 +470,8 @@ FMT_FUNC bool grisu2_round(char* buf, int& size, int max_digits, uint64_t delta, FMT_FUNC int grisu2_gen_digits(char* buf, uint32_t hi, uint64_t lo, int& exp, uint64_t delta, const fp& one, const fp& diff, int max_digits) { - // hi cannot be zero because it contains top 32 bits of a product of two - // 64-bit numbers with MSB set (due to normalization) - 1, shifted right by at - // most 60 bits. + // hi cannot be zero because it contains a product of two 64-bit numbers with + // MSB set (due to normalization) - 1, shifted right by at most 60 bits. FMT_ASSERT(hi != 0, ""); int size = 0; // Generate digits for the most significant part (hi). This can produce up to