Math.Min and Math.Max are consistent