結果 : how to compute log base 2 in python