bcpowmod(PHP 5) bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus Описание
string bcpowmod
( string $left_operand
, string $right_operand
, string $modulus
[, int $scale
] )
Use the fast-exponentiation method to raise left_operand to the power right_operand with respect to the modulus modulus . Список параметров
Возвращаемые значенияReturns the result as a string, or NULL if modulus is 0. Примечания
ПримерыThe following two statements are functionally identical. The bcpowmod() version however, executes in less time and can accept larger parameters.
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |