title: Raising to power in PHP
body: <p>Well, i need to do some calculations in PHP script. And i have one expression that behaves wrong.</p>
  
  <pre><code>echo 10^(-.01);
  </code></pre>
  
  <p>Outputs 10</p>
  
  <pre><code>echo 1 / (10^(.01));
  </code></pre>
  
  <p>Outputs 0</p>
  
  <pre><code>echo bcpow('10', '-0.01') . '&lt;br/&gt;';
  </code></pre>
  
  <p>Outputs 1</p>
  
  <pre><code>echo bcdiv('1', bcpow('10', '0.01'));
  </code></pre>
  
  <p>Outputs 1.000....</p>
  
  <p>I'm using <code>bcscale(100)</code> for BCMath calculations.</p>
  
  <p>Excel and Wolfram Mathematica give answer ~0,977237.</p>
  
  <p>Any suggestions?</p>