From 3b6248f6026a88c67628655e1c3998e12509ea90 Mon Sep 17 00:00:00 2001 From: Junekey Jeon Date: Fri, 18 Sep 2020 13:06:20 -0700 Subject: [PATCH] Change formatting --- include/fmt/format-inl.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 65f4aa70..6bea3d8c 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -2081,7 +2081,8 @@ template <> struct cache_accessor { "k is out of range"); #if FMT_USE_FULL_CACHE_DRAGONBOX - return data::dragonbox_pow10_significands_128[k - float_info::min_k]; + return data::dragonbox_pow10_significands_128[k - + float_info::min_k]; #else static const int compression_ratio = 27; @@ -2123,8 +2124,8 @@ template <> struct cache_accessor { // Get error int error_idx = (k - float_info::min_k) / 16; uint32_t error = (data::dragonbox_pow10_recovery_errors[error_idx] >> - ((k - float_info::min_k) % 16) * 2) & - 0x3; + ((k - float_info::min_k) % 16) * 2) & + 0x3; // Add the error back FMT_ASSERT(recovered_cache.low() + error >= recovered_cache.low(), "");