The members of Java.Math.BigInteger are listed below.
See Also: Inherited members from Java.Lang.Number
BigInteger(byte[]) | Constructs a new BigInteger from the given two's complement representation. | |
Constructs a new BigInteger by parsing value. | ||
Constructs a random non-negative BigInteger instance in the range [0, pow(2, numBits)-1]. | ||
Constructs a new BigInteger instance with the given sign and magnitude. | ||
Constructs a new BigInteger instance by parsing value. | ||
Constructs a random BigInteger instance in the range [0, pow(2, bitLength)-1] which is probably prime. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | LowestSetBit | int. Returns the position of the lowest set bit in the two's complement representation of this BigInteger. |
[read-only] static | One | BigInteger. The BigInteger constant 1. |
[read-only] static | Ten | BigInteger. The BigInteger constant 10. |
[read-only] static | Zero | BigInteger. The BigInteger constant 0. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Abs()Returns a BigInteger whose value is the absolute value of this. | ||
Add(BigInteger)Returns a BigInteger whose value is this + value. | ||
And(BigInteger)Returns a BigInteger whose value is this & value. | ||
AndNot(BigInteger)Returns a BigInteger whose value is this & ~value. | ||
BitCount()Returns the number of bits in the two's complement representation of this which differ from the sign bit. | ||
BitLength()Returns the length of the value's two's complement representation without leading zeros for positive numbers / without leading ones for negative values. | ||
ClearBit(int)Returns a BigInteger which has the same binary representation as this but with the bit at position n cleared. | ||
CompareTo(BigInteger)Compares this BigInteger with value. | ||
Divide(BigInteger)Returns a BigInteger whose value is this / divisor. | ||
DivideAndRemainder(BigInteger)Returns a two element BigInteger array containing this / divisor at index 0 and this % divisor at index 1. | ||
override | DoubleValue()Returns this BigInteger as a double. | |
FlipBit(int)Returns a BigInteger which has the same binary representation as this but with the bit at position n flipped. | ||
override | FloatValue()Returns this BigInteger as a float. | |
Gcd(BigInteger)Returns a BigInteger whose value is greatest common divisor of this and value. | ||
override | IntValue()Returns this BigInteger as an int value. | |
IsProbablePrime(int)Tests whether this BigInteger is probably prime. | ||
override | LongValue()Returns this BigInteger as a long value. | |
Max(BigInteger)Returns the maximum of this BigInteger and value. | ||
Min(BigInteger)Returns the minimum of this BigInteger and value. | ||
Mod(BigInteger)Returns a BigInteger whose value is this mod m. | ||
ModInverse(BigInteger)Returns a BigInteger whose value is 1/this mod m. | ||
ModPow(BigInteger, BigInteger)Returns a BigInteger whose value is pow(this, exponent) mod modulus. | ||
Multiply(BigInteger)Returns a BigInteger whose value is this * value. | ||
Negate()Returns a BigInteger whose value is the -this. | ||
NextProbablePrime()Returns the smallest integer x > this which is probably prime as a BigInteger instance. | ||
Not()Returns a BigInteger whose value is ~this. | ||
Or(BigInteger)Returns a BigInteger whose value is this | value. | ||
Pow(int)Returns a BigInteger whose value is pow(this, exp). | ||
static | ProbablePrime(int, Java.Util.Random)Returns a random positive BigInteger instance in the range [0, pow(2, bitLength)-1] which is probably prime. | |
Remainder(BigInteger)Returns a BigInteger whose value is this % divisor. | ||
SetBit(int)Returns a BigInteger which has the same binary representation as this but with the bit at position n set. | ||
ShiftLeft(int)Returns a BigInteger whose value is this . | ||
ShiftRight(int)Returns a BigInteger whose value is this >> n. | ||
Signum()Returns the sign of this BigInteger. | ||
Subtract(BigInteger)Returns a BigInteger whose value is this - value. | ||
TestBit(int)Tests whether the bit at position n in this is set. | ||
ToByteArray()Returns the two's complement representation of this BigInteger in a byte array. | ||
ToString(int)Returns a string containing a string representation of this BigInteger with base radix. | ||
static | ValueOf(long)Returns a BigInteger whose value is equal to value. | |
Xor(BigInteger)Returns a BigInteger whose value is this ^ value. |
Java.Lang.IComparable.CompareTo | Documentation for this section has not yet been entered. |