 The binary logarithm function may be defined as the inverse function to the power of two function , which is a strictly increasing function over the positive real numbers and therefore has a unique inverse . Alternatively , it may be defined as ln n / ln 2 , where ln is the natural logarithm , defined in any of its standard ways . Using the complex logarithm in this definition allows the binary logarithm to be extended to the complex numbers . 
