프로퍼티 | 타입 | 설명 | |
---|---|---|---|
One | |||
Zero |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. | |
리턴 |
public static Add ( |
||
left | The first value to add. | |
right | The second value to add. | |
리턴 |
public BigInteger ( int value ) : System | ||
value | int | A 32-bit signed integer. |
리턴 | System |
public BigInteger ( long value ) : System | ||
value | long | A 64-bit signed integer. |
리턴 | System |
public static Compare ( |
||
a | ||
b | ||
리턴 | int |
public static FromDouble ( double value ) : |
||
value | double | A 64-bit double precision floating point value. |
리턴 |
public static LeftShift ( |
||
value | The value whose bits are to be shifted. | |
shift | int | The number of bits to shift |
리턴 |
public static Log ( |
||
value | A number whose logarithm is to be found. | |
baseValue | double | The base of the logarithm. |
리턴 | double |
public static Multiply ( |
||
left | The first number to multiply. | |
right | The second number to multiply. | |
리턴 |
public static MultiplyAdd ( |
||
b | ||
m | int | |
a | int | |
리턴 |
public static MultiplyPow5 ( |
||
b | ||
k | int | |
리턴 |
public static Negate ( |
||
value | The value to negate. | |
리턴 |
public static Parse ( string str ) : |
||
str | string | A string that contains the number to convert. |
리턴 |
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. |
리턴 |
public static Quorem ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
리턴 | int |
public static RightShift ( |
||
value | The value whose bits are to be shifted. | |
shift | int | The number of bits to shift |
리턴 |
public static SetupQuorum ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
리턴 | void |
public static SetupQuorum ( |
||
dividend | The number that will be divided. | |
divisor | The number to divide by. | |
other | Another value involved in the division. | |
리턴 | void |
public static Subtract ( |
||
left | The value to subtract from. | |
right | The value to subtract. | |
리턴 |