the operation of calculating the logarithm in base 2