libs/full/naming/include/hpx/naming/credit_handling.hpp
constexpr std::int16_t log2(std::int64_t val) noexcept
        {
            std::int16_t ret = -1;
            while (val != 0)
            {
                val >>= 1;
                ++ret;
            }
            return ret;
        }
// We store the log2(credit) in the gid_type
We store the log2(credit) in the gid_type
We store the log2 ( credit ) in the gid_type
constexpr std::int16_t log2(std::int64_t val) noexcept
        {
            std::int16_t ret = -1;
            while (val != 0)
            {
                val >>= 1;
                ++ret;
            }
            return ret;
        }
constexpr std :: int16_t log2 ( std :: int64_t val ) noexcept { std :: int16_t ret = -1 ; while ( val != 0 ) { val >>= 1 ; ++ ret ; } return ret ; }
We store the log2(credit) in the gid_type
We store the log2 ( credit ) in the gid_type