implemented log(2)