Why Math.pow(1, NaN) equals NaN in JavaScript?
<p>In <a href="http://en.wikipedia.org/wiki/IEEE_754" rel="nofollow"><strong>IEEE 754-2008</strong></a> section <a href="http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&amp;arnumber=4610935" rel="nofollow"><em>"9.2.1 Special values"</em></a> there is mentioned that</p>

<blockquote>
  <p><code>pow(+1, y)</code> is <code>1</code> for any <code>y</code> (even a quiet <code>NaN</code>)</p>
</blockquote>

<p>For not reading the entire document Wikipedia gives the <a href="http://en.wikipedia.org/wiki/NaN#Function_definition" rel="nofollow"><em>shortcut</em></a>:</p>

<blockquote>
  <p>The 2008 version of the IEEE 754 standard says that <code>pow(1, qNaN)</code> and
  <code>pow(qNaN, 0)</code> should both return <code>1</code> since they return <code>1</code> whatever else is
  used instead of quiet <code>NaN</code>.</p>
</blockquote>

<p>Why then <code>Math.pow(1, NaN)</code> is <code>NaN</code> in JavaScript? Doesn't it follow the standards?</p>
