summaryrefslogtreecommitdiff
path: root/progs/a356.py
blob: 52071f420e860888eb7575009abe42d42c3cc6b1 (plain)
1
2
3
import math
def get_First_Set_Bit_Pos(n):
     return math.log2(n&-n)+1