Function: mod(numbers("yxx"), numbers('yxr')) if 10 *(logn(mod(numbers("yxx"), numbers('yxr')))) > logn(mod(numbers("yxx"), numbers('yxr'))) else numbers("yxx") if logn(mod(numbers("yxx"), numbers('yxr'))) > mod(numbers("yxx"), numbers('yxr')) else 10 *(logn(mod(numbers("yxx"), numbers('yxr'))))