title: Why is Math.pow(-0, -7) === -Infinity?
body: <p>Is there a rationale for <code>Math.pow(-0, x)</code> evaluating to Infinity for all negative <code>x</code>, except for the odd ones when it's -Infinity?
  I mean:</p>
  
  <pre><code>Math.pow(-0, -6);          // Infinity
  Math.pow(-0, -7);          // -Infinity
  Math.pow(-0, -7.33);       // Infinity
  Math.pow(-0, -Infinity);   // Infinity
  </code></pre>
  
  <p><a href="http://jsfiddle.net/KJ3uY/"><strong>Fiddle</strong></a></p>
  
  <p>I'm aware that a <em>positive</em> odd power of a <em>negative</em> number is negative, but this is clearly not the case here: -7 is not a positive exponent, and while -0 is indeed a number if you open your mind, it's not a negative one.</p>
  
  <p>This behaviour makes mathematically no sense, and I don't see a practical use or technical convenience for it either, so I suspect the specification must rely on historical/compatibility reasons. Any insights?</p>