n = 0 if absnum < 1.0 else ceil(log(absnum * 1.5, 2))