title: Is multiplication faster than float division?
body: <p>In C/C++, you can set up the following code:</p>
  
  <pre><code>double a, b, c;
  ...
  c = (a + b) / 2;
  </code></pre>
  
  <p>This does the exact same thing as:</p>
  
  <pre><code>c = (a + b) * 0.5;
  </code></pre>
  
  <p>I'm wondering which is better to use. Is one operation fundamentally faster than the other?</p>