Export (0) Print
Expand All

BigInteger Methods

The BigInteger type exposes the following members.

  NameDescription
Public method Static member Abs Gets the absolute value of a BigInteger object.
Public method Static member Add Adds two BigInteger values and returns the result.
Public method Static member Compare Compares two BigInteger values and returns an integer that indicates whether the first value is less than, equal to, or greater than the second value.
Public method CompareTo(BigInteger) Compares this instance to a second BigInteger and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
Public method CompareTo(Int64) Compares this instance to a signed 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the signed 64-bit integer.
Public method CompareTo(Object) Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
Public method CompareTo(UInt64) Compares this instance to an unsigned 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the unsigned 64-bit integer.
Public method Static member Divide Divides one BigInteger value by another and returns the result.
Public method Static member DivRem Divides one BigInteger value by another, returns the result, and returns the remainder in an output parameter.
Public method Equals(BigInteger) Returns a value that indicates whether the current instance and a specified BigInteger object have the same value.
Public method Equals(Int64) Returns a value that indicates whether the current instance and a signed 64-bit integer have the same value.
Public method Equals(Object) Returns a value that indicates whether the current instance and a specified object have the same value. (Overrides ValueType.Equals(Object).)
Public method Equals(UInt64) Returns a value that indicates whether the current instance and an unsigned 64-bit integer have the same value.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for the current BigInteger object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member GreatestCommonDivisor Finds the greatest common divisor of two BigInteger values.
Public method Static member Log(BigInteger) Returns the natural (base e) logarithm of a specified number.
Public method Static member Log(BigInteger, Double) Returns the logarithm of a specified number in a specified base.
Public method Static member Log10 Returns the base 10 logarithm of a specified number.
Public method Static member Max Returns the larger of two BigInteger values.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Min Returns the smaller of two BigInteger values.
Public method Static member ModPow Performs modulus division on a number raised to the power of another number.
Public method Static member Multiply Returns the product of two BigInteger values.
Public method Static member Negate Negates a specified BigInteger value.
Public method Static member Parse(String) Converts the string representation of a number to its BigInteger equivalent.
Public method Static member Parse(String, NumberStyles) Converts the string representation of a number in a specified style to its BigInteger equivalent.
Public method Static member Parse(String, IFormatProvider) Converts the string representation of a number in a specified culture-specific format to its BigInteger equivalent.
Public method Static member Parse(String, NumberStyles, IFormatProvider) Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent.
Public method Static member Pow Raises a BigInteger value to the power of a specified value.
Public method Static member Remainder Performs integer division on two BigInteger values and returns the remainder.
Public method Static member Subtract Subtracts one BigInteger value from another and returns the result.
Public method ToByteArray Converts a BigInteger value to a byte array.
Public method ToString() Converts the numeric value of the current BigInteger object to its equivalent string representation. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Converts the numeric value of the current BigInteger object to its equivalent string representation by using the specified culture-specific formatting information.
Public method ToString(String) Converts the numeric value of the current BigInteger object to its equivalent string representation by using the specified format.
Public method ToString(String, IFormatProvider) Converts the numeric value of the current BigInteger object to its equivalent string representation by using the specified format and culture-specific format information.
Public method Static member TryParse(String, BigInteger) Tries to convert the string representation of a number to its BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.
Public method Static member TryParse(String, NumberStyles, IFormatProvider, BigInteger) Tries to convert the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent, and returns a value that indicates whether the conversion succeeded.
Top

Community Additions

ADD
Show:
© 2014 Microsoft