Function: round(gradient[1](numbers("xxx") if logn(minus(numbers("xxx"), numbers("xxr"))) > minus(numbers("xxx"), numbers("xxr")) else numbers("xxr")), logn(minus(numbers("xxx"), numbers("xxr"))) if minus(numbers("xxx"), numbers("xxr")) > numbers("xxr") else numbers("xxx"))