From 8ffc60b3424a5aa0b70067cce211a4d25a2cb09b Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 28 Nov 2008 22:19:04 +0000 Subject: [PATCH] enable testing PMA_pow() for system with bcpow() --- libraries/common.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index baa1f3953..8f09acc8b 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -47,7 +47,8 @@ function PMA_pow($base, $exp, $use_function = false) switch ($use_function) { case 'bcpow' : - //bcscale(10); + // bcscale() needed for testing PMA_pow() with base values < 1 + bcscale(10); $pow = bcpow($base, $exp); break; case 'gmp_pow' :