title: Error: Invalid operands to binary expression double double, but I'm not using pointers, only using ints
body: <p>From here and google, I thought the "invalid operands to binary expression double and double" error meant I was trying to operate on doubles or floats when that's not allowed (for some reason) or that I'm messing around with pointers (which I haven't figured out quite yet). Yet I got everything going on here in ints (I think) and I'm not using pointers (that I"m aware of). </p>
  
  <p>I'm just trying to play around with charting out different equations, I'm not really sure what's going on. I wanted to use floats so I could see decimals but I reduced everything down to ints in a desperate attempt to get what I thought would be a simple program to run. </p>
  
  <p>What am I missing here? </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int pricedecrease(int x)
  {
      return x - ((0.1 * x) ^ 3);
  }
  
  int main(void)
  {
      printf("%d", pricedecrease(100));
  }
  </code></pre>