enable testing PMA_pow() for system with bcpow()
This commit is contained in:
@@ -47,7 +47,8 @@ function PMA_pow($base, $exp, $use_function = false)
|
|||||||
|
|
||||||
switch ($use_function) {
|
switch ($use_function) {
|
||||||
case 'bcpow' :
|
case 'bcpow' :
|
||||||
//bcscale(10);
|
// bcscale() needed for testing PMA_pow() with base values < 1
|
||||||
|
bcscale(10);
|
||||||
$pow = bcpow($base, $exp);
|
$pow = bcpow($base, $exp);
|
||||||
break;
|
break;
|
||||||
case 'gmp_pow' :
|
case 'gmp_pow' :
|
||||||
|
Reference in New Issue
Block a user