enable testing PMA_pow() for system with bcpow()

This commit is contained in:
Marc Delisle
2008-11-28 22:19:04 +00:00
parent c909885dc1
commit 8ffc60b342

View File

@@ -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' :