From 6adefa751f630021f5e9cf938076ace7c0cda364 Mon Sep 17 00:00:00 2001 From: Joakim Brannstrom Date: Sat, 3 Jul 2021 18:00:41 +0200 Subject: [PATCH] Remove unused `exp_` If the test cases (format_test.format_float, bigint_test.square, printf_test.fixed_large_exponent, bigint_test.divmod_assign_unaligned, format_test.format_double) are correct then this line can be removed. --- include/fmt/format-inl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 94a36d1b..54b7a665 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -564,7 +564,6 @@ class bigint { sum >>= bits::value; } remove_leading_zeros(); - exp_ *= 2; } // If this bigint has a bigger exponent than other, adds trailing zero to make