title: How to evaluate functions in GDB?
body: <p>I wonder why evaluate function doesn't work in gdb? In my source file I include, when debugging in gdb, these examples are wrong evaluations.</p>
  
  <pre><code>(gdb) p pow(3,2)
  
  $10 = 1
  
  (gdb) p pow(3,3)
  
  $11 = 1
  
  (gdb) p sqrt(9)
  
  $12 = 0
  </code></pre>