Anti log calculation