Modifier and Type | Field and Description |
---|---|
(package private) int[] |
data |
(package private) int |
nWords |
Constructor and Description |
---|
Format.FDBigInt(Format.FDBigInt other) |
Format.FDBigInt(int v) |
Format.FDBigInt(long v) |
Modifier and Type | Method and Description |
---|---|
Format.FDBigInt |
add(Format.FDBigInt other)
Add one FDBigInt to another.
|
int |
cmp(Format.FDBigInt other)
Compare FDBigInt with another FDBigInt.
|
long |
longValue() |
void |
lshiftMe(int c) |
Format.FDBigInt |
mult(Format.FDBigInt other)
Multiply a FDBigInt by another FDBigInt.
|
Format.FDBigInt |
mult(int iv)
Multiply a FDBigInt by an int.
|
int |
normalizeMe()
normalize this number by shifting until
the MSB of the number is at 0x08000000.
|
int |
quoRemIteration(Format.FDBigInt S)
Compute
q = (int)(this / S)
this = 10 * (this mod S)
Return q.
|
static void |
setDebugging(boolean d) |
Format.FDBigInt |
sub(Format.FDBigInt other)
Subtract one FDBigInt from another.
|
String |
toString() |
public Format.FDBigInt(int v)
public Format.FDBigInt(long v)
public Format.FDBigInt(Format.FDBigInt other)
public static void setDebugging(boolean d)
public void lshiftMe(int c) throws IllegalArgumentException
IllegalArgumentException
public int normalizeMe() throws IllegalArgumentException
IllegalArgumentException
public Format.FDBigInt mult(int iv)
public Format.FDBigInt mult(Format.FDBigInt other)
public Format.FDBigInt add(Format.FDBigInt other)
public Format.FDBigInt sub(Format.FDBigInt other)
public int cmp(Format.FDBigInt other)
public int quoRemIteration(Format.FDBigInt S) throws IllegalArgumentException
IllegalArgumentException
public long longValue()