Property | Type | Description | |
---|---|---|---|
One | |||
Zero |
Method | Description | |
---|---|---|
Abs ( |
Gets the absolute value of a BigInteger object.
|
|
Add ( |
Adds two BigInteger values and returns the result.
|
|
BigInteger ( int value ) : System |
Initializes a new instance of the BigInteger structure using a 32-bit signed integer value.
|
|
BigInteger ( long value ) : System |
Initializes a new instance of the BigInteger structure using a 64-bit signed integer value.
|
|
Compare ( |
Returns
|
|
Equals ( object obj ) : bool |
Returns a value that indicates whether the current instance and a specified BigInteger object have the same value.
|
|
FromDouble ( double value ) : |
Returns a new instance BigInteger structure from a 64-bit double precision floating point value.
|
|
GetHashCode ( ) : int |
Returns the hash code for the current BigInteger object.
|
|
InPlaceDecrement ( ) : void |
Decrements the current value of the BigInteger object.
|
|
LeftShift ( |
Shifts a BigInteger value a specified number of bits to the left.
|
|
Log ( |
Returns the logarithm of a specified number in a specified base.
|
|
Multiply ( |
Returns the product of two BigInteger values.
|
|
MultiplyAdd ( |
Multiply by m and add a.
|
|
MultiplyPow5 ( |
Computes b x 5 ^ k.
|
|
Negate ( |
Negates a specified BigInteger value.
|
|
Parse ( string str ) : |
Converts the string representation of a number to its BigInteger equivalent.
|
|
Pow ( int radix, int exponent ) : |
Equivalent to BigInteger.Pow but with integer arguments.
|
|
Quorem ( |
Calculates the integer result of dividing dividend by divisor then sets dividend to the remainder.
|
|
RightShift ( |
Shifts a BigInteger value a specified number of bits to the right. Note: unlike System.Numerics.BigInteger, negative numbers are treated identically to positive numbers. |
|
SetupQuorum ( |
Modifies the given values so they are suitable for passing to Quorem.
|
|
SetupQuorum ( |
Modifies the given values so they are suitable for passing to Quorem.
|
|
Subtract ( |
Subtracts one BigInteger value from another and returns the result.
|
|
ToDouble ( ) : double |
Returns a double that corresponds to the BigInteger value.
|
|
ToString ( ) : string |
Converts the numeric value of the current BigInteger object to its equivalent string representation.
|
Method | Description | |
---|---|---|
BigInteger ( uint bits, int wordCount, int sign ) : System | ||
CountLeadingZeroBits ( uint value ) : int |
Returns the number of leading zero bits in the given 32-bit integer.
|
public static Abs ( |
||
b | A number. | |
return |
public static Add ( |
||
left | The first value to add. | |
right | The second value to add. | |
return |
public BigInteger ( int value ) : System | ||
value | int | A 32-bit signed integer. |
return | System |
public BigInteger ( long value ) : System | ||
value | long | A 64-bit signed integer. |
return | System |
public static Compare ( |
||
a | ||
b | ||
return | int |
public Equals ( object obj ) : bool | ||
obj | object | The object to compare. |
return | bool |
public static FromDouble ( double value ) : |
||
value | double | A 64-bit double precision floating point value. |
return |
public static LeftShift ( |
||
value | The value whose bits are to be shifted. | |
shift | int | The number of bits to shift |
return |
public static Log ( |
||
value | A number whose logarithm is to be found. | |
baseValue | double | The base of the logarithm. |
return | double |
public static Multiply ( |
||
left | The first number to multiply. | |
right | The second number to multiply. | |
return |
public static MultiplyAdd ( |
||
b | ||
m | int | |
a | int | |
return |
public static MultiplyPow5 ( |
||
b | ||
k | int | |
return |
public static Negate ( |
||
value | The value to negate. | |
return |
public static Parse ( string str ) : |
||
str | string | A string that contains the number to convert. |
return |
public static Pow ( int radix, int exponent ) : |
||
radix | int | The number to be raised to a power. |
exponent | int | The number that specifies the power. |
return |
public static Quorem ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
return | int |
public static RightShift ( |
||
value | The value whose bits are to be shifted. | |
shift | int | The number of bits to shift |
return |
public static SetupQuorum ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
return | void |
public static SetupQuorum ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
other | Another value involved in the division. | |
return | void |
public static Subtract ( |
||
left | The value to subtract from. | |
right | The value to subtract. | |
return |