Simplify numeric comparison

Proprietary

Simplify x - y > 0 to x > y, x - y < 0 to x < y, x - y >= 0 to x >= y, and x - y <= 0 to x <= y.

OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.SimplifyNumericComparison
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.SimplifyNumericComparison

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.