Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ bit_length
Method
bit_length
Lib/test/test_decimal.py:5725–5726 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
5723
5724
class
I(int):
5725
def
bit_length(self):
5726
return
[1]*200
5727
5728
class
Z(float):
5729
def
as_integer_ratio(self):
Callers
15
_float_sqrt_of_frac
Function · 0.80
bin
Function · 0.80
__set_name__
Method · 0.80
_missing_
Method · 0.80
_high_bit
Function · 0.80
convert_class
Function · 0.80
_count_righthand_zero_bits
Function · 0.80
summarize_address_range
Function · 0.80
_randbelow_with_getrandbits
Method · 0.80
encode_long
Function · 0.80
from_float
Method · 0.80
as_integer_ratio
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected