title: Is log10f() not a part of standard math library?
body: <p>I am having issues with usage of log10f().
  I am compiling the program on Linux (2.6.28-11-generic) and using gcc (3.4.6). </p>
  
  <p>The following source compiles and prints 1.000000 on execution. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;math.h&gt;
  
  int main() {
     printf("%f\n", log10f(10));
     return 0;
  }
  </code></pre>
  
  <p>while the below one doesn't and throws up link error:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;math.h&gt;
  
  int main() {
     printf("%f\n", log10f(100));
     return 0;
  }
  </code></pre>
  
  <p>Error : Undefined reference to log10f</p>
  
  <ol>
  <li><p>Is the log10f() not defined as part of standard math library (Man pages indicate that it is part of math library)?</p></li>
  <li><p>Why is that the second example doesn't compile?</p></li>
  </ol>