LexoInteger class
Constructors
-
LexoInteger(LexoNumeralSystem system, int sign, List<
int> mag)
Properties
Methods
-
add(
LexoInteger other) → LexoInteger -
checkSystem(
LexoInteger other) → void -
compareTo(
LexoInteger other) → int -
complement(
) → LexoInteger -
complementDigits(
int digits) → LexoInteger -
equals(
LexoInteger other) → bool -
format(
) → String -
getMag(
int index) → int -
getSystem(
) → LexoNumeralSystem -
isOne(
) → bool -
isOneish(
) → bool -
isZero(
) → bool -
multiply(
LexoInteger other) → LexoInteger -
negate(
) → LexoInteger -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shiftLeft(
[int times = 1]) → LexoInteger -
shiftRight(
[int times = 1]) → LexoInteger -
subtract(
LexoInteger other) → LexoInteger -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Static Methods
-
Add(
LexoNumeralSystem sys, List< int> l, List<int> r) → List<int> -
compare(
List< int> l, List<int> r) → int -
Complement(
LexoNumeralSystem sys, List< int> mag, int digits) → List<int> -
extendWithCarry(
List< int> mag, int carry) → List<int> -
make(
LexoNumeralSystem sys, int sign, List< int> mag) → LexoInteger -
Multiply(
LexoNumeralSystem sys, List< int> l, List<int> r) → List<int> -
one(
LexoNumeralSystem sys) → LexoInteger -
parse(
String strFull, LexoNumeralSystem system) → LexoInteger -
Subtract(
LexoNumeralSystem sys, List< int> l, List<int> r) → List<int> -
zero(
LexoNumeralSystem sys) → LexoInteger