Documentation

BigInt
in package

Table of Contents

Constants

DIGIT_SIZE  = 4

Properties

$digits  : mixed

Methods

createFromDec()  : mixed
createFromDigits()  : mixed
createFromHex()  : mixed
getHighIndex()  : mixed
multiplyMod()  : mixed
powMod()  : mixed
shiftRight()  : mixed
toHex()  : mixed
__construct()  : mixed

Constants

DIGIT_SIZE

public mixed DIGIT_SIZE = 4

Properties

Methods

createFromDec()

public static createFromDec([mixed $dec = 0 ]) : mixed
Parameters
$dec : mixed = 0

createFromDigits()

public static createFromDigits([array<string|int, mixed> $digits = [] ]) : mixed
Parameters
$digits : array<string|int, mixed> = []

createFromHex()

public static createFromHex(mixed $hex) : mixed
Parameters
$hex : mixed

getHighIndex()

public getHighIndex() : mixed

shiftRight()

public shiftRight(mixed $i) : mixed
Parameters
$i : mixed

__construct()

protected __construct(array<string|int, mixed> $digits) : mixed
Parameters
$digits : array<string|int, mixed>

        
On this page

Search results