title: double vs. double* in C++
body: <p>I'm developing a piece of code which makes scientific calculation, and as a result I use extensive use of <code>double</code> variables. These variables travel from function to function, but most of them are never modified and hence defined as <code>const</code> in function signatures.</p>
  
  <p>I have used <code>double*</code> in function signatures, but then I started to wonder that whether it's better to use <code>double</code> instead because:</p>
  
  <ul>
  <li><code>double*</code> and <code>double</code> are same size, 8 bytes in C++.</li>
  <li>When I send in <code>double*</code>, I need another fetch operation in the function.</li>
  </ul>
  
  <p>When using the variables in <code>const</code> fashion, are there any valid reasons to use <code>double*</code> instead of <code>double</code>?</p>