bcpowmodRaise an arbitrary precision number to another, reduced by a specified modulus Description
string bcpowmod
( string
$left_operand
, string $right_operand
, string $modulus
[, int $scale
] )
Use the fast-exponentiation method to raise
Parameters
Return Values
Returns the result as a string, or Notes
ExamplesThe following two statements are functionally identical. The bcpowmod version however, executes in less time and can accept larger parameters.
<?php See Also
|