What is a simplest way to find how many bits an arbitrary precision cpp_int
is?
For example 300 can be represented with a minimum of 9 bits.
I imagine an algorithm that repeatedly right shifts until the value reaches 0, I was wondering if there was a simpler solution.