|
| __construct ($x=0, $base=10) |
|
| toString () |
|
| toBytes ($twos_compliment=false) |
|
| abs () |
|
| bitwise_rightShift ($shift) |
|
| bitwise_leftShift ($shift) |
|
| isOdd () |
|
| testBit ($x) |
|
| isNegative () |
|
| negate () |
|
| bitwise_split ($split) |
|
| __construct ($x=0, $base=10) |
|
| toHex ($twos_compliment=false) |
|
| toBits ($twos_compliment=false) |
|
| __sleep () |
|
| __wakeup () |
|
| jsonSerialize () |
|
| __toString () |
|
| __debugInfo () |
|
| setPrecision ($bits) |
|
| getPrecision () |
|
| bitwise_not () |
|
| bitwise_leftRotate ($shift) |
|
| bitwise_rightRotate ($shift) |
|
| getLength () |
|
| getLengthInBytes () |
|
| isPrime ($t=false) |
|
| root ($n=2) |
|
| createRecurringModuloFunction () |
|
| bitwise_split ($split) |
|
const | VARIABLE = 0 |
|
const | DATA = 1 |
|
const | VALUE = 0 |
|
const | SIGN = 1 |
|
const | KARATSUBA_CUTOFF = 25 |
|
const | FAST_BITWISE = true |
|
const | ENGINE_DIR = 'PHP' |
|
const | PRIMES |
|
| initialize ($base) |
|
| pad ($str) |
|
| divideHelper (PHP $y) |
|
| convertToObj (array $arr) |
|
| normalize (PHP $result) |
|
| lshift ($shift) |
|
| rshift ($shift) |
|
| powModInner (PHP $e, PHP $n) |
|
| make_odd () |
|
| testSmallPrimes () |
|
| powHelper (PHP $n) |
|
| toBytesHelper () |
|
| powModOuter (Engine $e, Engine $n) |
|
| setupIsPrime () |
|
| testPrimality ($t) |
|
| rootHelper ($n) |
|
| rootInner ($n) |
|
| extendedGCDHelper (Engine $n) |
|
| bitwiseAndHelper (Engine $x) |
|
| bitwiseOrHelper (Engine $x) |
|
| bitwiseXorHelper (Engine $x) |
|
static | slidingWindow (Engine $x, Engine $e, Engine $n, $class) |
|
static | powModHelper (PHP $x, PHP $e, PHP $n, $class) |
|
static | prepareReduce (array $x, array $n, $class) |
|
static | multiplyReduce (array $x, array $y, array $n, $class) |
|
static | squareReduce (array $x, array $n, $class) |
|
static | addHelper (array $x_value, $x_negative, array $y_value, $y_negative) |
|
static | multiplyHelper (array $x_value, $x_negative, array $y_value, $y_negative) |
|
static | regularMultiply (array $x_value, array $y_value) |
|
static | compareHelper (array $x_value, $x_negative, array $y_value, $y_negative) |
|
static | trim (array $value) |
|
static | array_repeat ($input, $multiplier) |
|
static | square (array $x) |
|
static | baseSquare (array $value) |
|
static | karatsubaSquare (array $value) |
|
static | setBitmask ($bits) |
|
static | base256_lshift (&$x, $shift) |
|
static | slidingWindow (Engine $x, Engine $e, Engine $n, $class) |
|
static | randomRangePrimeOuter (Engine $min, Engine $max) |
|
static | randomRangeHelper (Engine $min, Engine $max) |
|
static | randomRangePrimeInner (Engine $x, Engine $min, Engine $max) |
|
static | minHelper (array $nums) |
|
static | maxHelper (array $nums) |
|
| $value |
|
| $is_negative |
|
| $precision = -1 |
|
| $bitmask = false |
|
| $reduce |
|
| $hex |
|
static | $zero = [] |
|
static | $one = [] |
|
static | $two = [] |
|
static | $modexpEngine |
|
static | $isValidEngine |
|