log2 in c