proc bit_count(self: IntObject): IntObject {....raises: [], tags: [], forbids: [].}
proc bit_length(self: IntObject): IntObject {....raises: [], tags: [], forbids: [].}
proc byteCount(v: IntObject): int64 {....raises: [], tags: [], forbids: [].}
proc digitCount(v: IntObject): int {.inline, ...raises: [], tags: [], forbids: [].}
proc numbits(v: IntObject): int64 {....raises: [], tags: [], forbids: [].}
_PyLong_NumBits
returns the number of bits necessary to represent the absolute value of the integer in binary, excluding the sign and leading zeros.