Function ADS::binaryLength

Function Documentation

constexpr int ADS::binaryLength(std::uint64_t x)

| B( x ) |, the bits of the binary code of x, 1 + floor( log2 x )

Pre:

x >= 1