Lines Matching refs:base
178 * @param int $base
181 abstract protected function init($number, $base = 10); argument
212 * @param int $base
216 abstract protected function mod($base, $modulus); argument
219 * @param int $base
223 abstract protected function pow($base, $exponent); argument
248 function pow($base, $exponent) argument
250 return bcpow($base, $exponent);
258 function init($number, $base = 10) argument
263 function mod($base, $modulus) argument
265 return bcmod($base, $modulus);
282 * @param int $base
287 function _powmod($base, $exponent, $modulus) argument
289 $square = $this->mod($base, $modulus);
301 function powmod($base, $exponent, $modulus) argument
304 return bcpowmod($base, $exponent, $modulus);
306 return $this->_powmod($base, $exponent, $modulus);
338 function pow($base, $exponent) argument
340 return gmp_pow($base, $exponent);
348 function init($number, $base = 10) argument
350 return gmp_init($number, $base);
353 function mod($base, $modulus) argument
355 return gmp_mod($base, $modulus);
368 function powmod($base, $exponent, $modulus) argument
370 return gmp_powm($base, $exponent, $modulus);