let compare_int (x: int) (y: int) : int =
  if x == y then
    0
  else if x < y then
    -1
  else
    1