Function nlohmann::detail::dtoa_impl::find_largest_pow10

Function Documentation

inline int nlohmann::detail::dtoa_impl::find_largest_pow10(const std::uint32_t n, std::uint32_t &pow10)

For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1.