title: How wrong do I use Math.Pow(a,b) function in this C# code?
body: <p>I can not find anything wrong with the following code, whence the MSVC# compiler stores NAN in "c":</p>
  
  <pre><code>double c = Math.Pow(-8d, 1d / 3d);
  </code></pre>
  
  <p>While I think this line should calculate -2 for "c", the compiler stores NAN in "c"?
  Am i wrong about anything?</p>