Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get number of bits on integer in python

a = 100
a.bit_length()
# 7
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #number #bits #integer #python
ADD COMMENT
Topic
Name
2+1 =