Updated to use logOnePlusX for both terms.