 The binary logarithm is the logarithm to the base 2 . The binary logarithm function is the inverse function of the power of two function . As well as log2 , alternative notations for the binary logarithm include lg , ld , lb , and ( with a prior statement that the default base is 2 ) log . 
