title: bitwise checking if a number is -1 or not
body: <p>I have to make a function that check if a input number is -1 or not. here's the requirement</p>
  
  <pre><code>isTmin - returns 1 if x is the minimum, two's complement number, and 0 otherwise 
  Legal ops: ! ~ &amp; ^ | +
  Max ops: 10
  Rating: 1
  </code></pre>
  
  <p>First I try this:</p>
  
  <pre><code>int isTmin(int x) {
    return !(x^(0x01&lt;&lt;31));
  }
  </code></pre>
  
  <p>this method works, but I am not allowed to use the shifting operator. any ideas how can I solve this problem w/o using shift operator? </p>