min (int+- x, y)                                 min (int x, y)                                    ...
{                                                {                                                 ...
  return (x < y) ? x : y;                          return (x < y) ? x : y;                         ...
}                                                }                                                 ...

max (int+- x, y)                                 max (int x, y)                                    ...
{                                                {                                                 ...
  return (x > y) ? x : y;                          return (x > y) ? x : y;                         ...
}                                                }                                                 ...