| Modifier and Type | Field and Description |
|---|---|
(package private) int[] |
data |
(package private) int |
nWords |
| Constructor and Description |
|---|
FDBigInt(FDBigInt other) |
FDBigInt(int v) |
FDBigInt(long v) |
FDBigInt(long seed,
char[] digit,
int nd0,
int nd) |
| Modifier and Type | Method and Description |
|---|---|
FDBigInt |
add(FDBigInt other) |
int |
cmp(FDBigInt other) |
long |
longValue() |
void |
lshiftMe(int c) |
FDBigInt |
mult(FDBigInt other) |
FDBigInt |
mult(int iv) |
void |
multaddMe(int iv,
int addend) |
int |
normalizeMe() |
int |
quoRemIteration(FDBigInt S) |
FDBigInt |
sub(FDBigInt other) |
String |
toString()
Returns a string representation of the object.
|
public FDBigInt(int v)
public FDBigInt(long v)
public FDBigInt(long seed, char[] digit, int nd0, int nd)
public void lshiftMe(int c) throws IllegalArgumentException
IllegalArgumentExceptionpublic int normalizeMe() throws IllegalArgumentException
IllegalArgumentExceptionpublic void multaddMe(int iv, int addend)
public int quoRemIteration(FDBigInt S) throws IllegalArgumentException
IllegalArgumentExceptionpublic long longValue()
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())