input: 
  def convert_sign_using_bitwise(x: int) -> int:
      """
      Convert a positive integer to negative or negative integer to positive using bitwise NOT operator.
      >>> convert_sign_using_bitwise(5)
      -5
      >>> convert_sign_using_bitwise(-3)
      3
      >>> convert_sign_using_bitwise(0)
      0
      """
      if x >= 0:
          return ~x + 1
      else:
          return ~(x - 1)
  
output:     if x >= 0:
          return ~x + 1
      else:
          return ~(x - 1)