Function: minus(numbers("xxx") if log(numbers("xxx"), numbers('xry')) > numbers('xry') else minus(log(numbers("xxx"), numbers('xry')), numbers("xxx")) if numbers("xxx") > minus(log(numbers("xxx"), numbers('xry')), numbers("xxx")) else log(numbers("xxx"), numbers('xry')), log(numbers("xxx"), numbers('xry')) if minus(log(numbers("xxx"), numbers('xry')), numbers("xxx")) > numbers('xry') else numbers("xxx"))