math.log(Double.MaxValue) is 709.7 so any value greater that would result in Infinity