class SignedMutableBigInteger extends MutableBigInteger
BigInteger| Modifier and Type | Field and Description |
|---|---|
(package private) int |
sign
The sign of this MutableBigInteger.
|
intLen, offset, ONE, value| Constructor and Description |
|---|
SignedMutableBigInteger()
The default constructor.
|
SignedMutableBigInteger(int val)
Construct a new MutableBigInteger with a magnitude specified by
the int val.
|
SignedMutableBigInteger(MutableBigInteger val)
Construct a new MutableBigInteger with a magnitude equal to the
specified MutableBigInteger.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
signedAdd(MutableBigInteger addend)
Signed addition built upon unsigned add and subtract.
|
(package private) void |
signedAdd(SignedMutableBigInteger addend)
Signed addition built upon unsigned add and subtract.
|
(package private) void |
signedSubtract(MutableBigInteger addend)
Signed subtraction built upon unsigned add and subtract.
|
(package private) void |
signedSubtract(SignedMutableBigInteger addend)
Signed subtraction built upon unsigned add and subtract.
|
String |
toString()
Print out the first intLen ints of this MutableBigInteger's value
array starting at offset.
|
add, binaryGcd, clear, compare, compareHalf, copyValue, copyValue, divide, divide, divideOneWord, euclidModInverse, fixup, hybridGCD, inverseMod32, isEven, isNormal, isOdd, isOne, isZero, leftShift, modInverseBP2, modInverseMP2, mul, multiply, mutableModInverse, normalize, reset, rightShift, setInt, setValue, subtract, toBigDecimal, toBigInteger, toIntArrayint sign
SignedMutableBigInteger()
SignedMutableBigInteger(int val)
SignedMutableBigInteger(MutableBigInteger val)
void signedAdd(SignedMutableBigInteger addend)
void signedAdd(MutableBigInteger addend)
void signedSubtract(SignedMutableBigInteger addend)
void signedSubtract(MutableBigInteger addend)
public String toString()
toString in class MutableBigInteger