Raising to power in PHP
Well, i need to do some calculations in PHP script. And i have one expression that behaves wrong.

    echo 10^(-.01);

Outputs 10

    echo 1 / (10^(.01));

Outputs 0

    echo bcpow('10', '-0.01') . '<br/>';

Outputs 1

    echo bcdiv('1', bcpow('10', '0.01'));

Outputs 1.000....

I'm using `bcscale(100)` for BCMath calculations.

Excel and Wolfram Mathematica give answer ~0,977237.

Any suggestions?
Raising to power in PHP
===

Well, i need to do some calculations in PHP script. And i have one expression that behaves wrong.

    echo 10^(-.01);

Outputs 10

    echo 1 / (10^(.01));

Outputs 0

    echo bcpow('10', '-0.01') . '<br/>';

Outputs 1

    echo bcdiv('1', bcpow('10', '0.01'));

Outputs 1.000....

I'm using `bcscale(100)` for BCMath calculations.

Excel and Wolfram Mathematica give answer ~0,977237.

Any suggestions?