Commit 08d12f31 authored by Junekey Jeon's avatar Junekey Jeon Committed by Victor Zverovich

Fix typo

parent dbddb1d0
......@@ -956,7 +956,7 @@ template <int N> uint32_t small_division_by_pow10(uint32_t n) noexcept {
constexpr auto info = div_small_pow10_infos[N - 1];
FMT_ASSERT(n <= info.divisor * 10, "n is too large");
constexpr uint32_t magic_number =
(1u << info.divisibility_check_bits) / info.divisor + 1;
(1u << info.shift_amount) / info.divisor + 1;
return (n * magic_number) >> info.shift_amount;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment