__construct()
abs()
add()
baseConvert()
binToInt()
comp()
div()
init()
intToBin()
mod()
mul()
pow()
powmod()
sqrt()
sub()
BASE62_ALPHABET
Bcmath extension adapter
__construct()
abs(string $operand) : string
string
stringadd(string $leftOperand, string $rightOperand) : string
string
string
stringbaseConvert(string $operand, int $fromBase, int $toBase) : string
Bases 2..62 are supported
string
int
int
\Zend\Math\BigInteger\Exception\InvalidArgumentException |
|---|
stringbinToInt(string $bytes, bool $twoc) : string
string
boolwhether binary number is in twos' complement form
stringcomp(string $leftOperand, string $rightOperand) : int
string
string
intdiv(string $leftOperand, string $rightOperand) : string
Raises exception if the divisor is zero.
string
string
\Zend\Math\BigInteger\Exception\DivisionByZeroException |
|---|
stringinit(string $operand, int | null $base) : bool | string
string
intnull
boolstring
intToBin(string $operand, bool $twoc) : string
string
boolreturn in two's complement form
stringmod(string $leftOperand, string $rightOperand) : string
string
string
stringmul(string $leftOperand, string $rightOperand) : string
string
string
stringpow(string $operand, string $exp) : string
string
string
stringpowmod(string $leftOperand, string $rightOperand, string $modulus) : string
string
string
string
stringsqrt(string $operand) : string
string
stringsub(string $leftOperand, string $rightOperand) : string
string
string
stringBASE62_ALPHABET
| inherited_from | \Zend\Math\BigInteger\Adapter\AdapterInterface::BASE62_ALPHABET |
|---|