title: How to calculate logarithm in iOS?
body: <p>I need to calculate Log (base 10) and Log (base e – Naperian/Natural).</p>
  
  <p>I am now assuming that Log (base 10) is: </p>
  
  <pre><code>double log10 ( double );
  </code></pre>
  
  <p>And am I correct to assume that Log (base e – Naperian/Natural) is just:</p>
  
  <pre><code>  double log ( double );
  </code></pre>
  
  <p>Thanks</p>