Modified fastlog to ensure that log(1.0) == 0.0.