Home | Trees | Indices | Help |
---|
|
1 import sys 2 4 b=0 5 while(x > 0): 6 x &= x - 1 7 b+=1 8 return b 9 16 17 for s in sys.argv[1:]: 18 i = long(s) 19 print bitsize(i),bitsoncount(i),i 20
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Dec 16 11:46:05 2019 | http://epydoc.sourceforge.net |