title: pow function in C not working as intended
body: <p>I have the following equation I need to represent in C:</p>
  
  <pre><code>20 * 2^((1-x)/5)
  </code></pre>
  
  <p>my c representation is as follows, but it seems like the <code>pow</code> function is always returning a high integer value (1073741824) with my n values ranging from 1-5.</p>
  
  <pre><code>double x = 20 * pow(2.0, (n/5.0));
  </code></pre>
  
  <p>I assume it is because both arguments are not double values, but I do not see why. Is there a different way to format this equation to get it to work?</p>