BigInteger Estructura

Definición

Representa un entero con signo de tamaño arbitrario grande.

public value class BigInteger : IComparable, IComparable<System::Numerics::BigInteger>, IEquatable<System::Numerics::BigInteger>, IFormattable
public value class BigInteger : IComparable<System::Numerics::BigInteger>, IEquatable<System::Numerics::BigInteger>, IParsable<System::Numerics::BigInteger>, ISpanParsable<System::Numerics::BigInteger>, IUtf8SpanParsable<System::Numerics::BigInteger>, System::Numerics::IAdditionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IAdditiveIdentity<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IBinaryInteger<System::Numerics::BigInteger>, System::Numerics::IBinaryNumber<System::Numerics::BigInteger>, System::Numerics::IBitwiseOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IComparisonOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, bool>, System::Numerics::IDecrementOperators<System::Numerics::BigInteger>, System::Numerics::IDivisionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IEqualityOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, bool>, System::Numerics::IIncrementOperators<System::Numerics::BigInteger>, System::Numerics::IModulusOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IMultiplicativeIdentity<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IMultiplyOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::INumber<System::Numerics::BigInteger>, System::Numerics::INumberBase<System::Numerics::BigInteger>, System::Numerics::IShiftOperators<System::Numerics::BigInteger, int, System::Numerics::BigInteger>, System::Numerics::ISignedNumber<System::Numerics::BigInteger>, System::Numerics::ISubtractionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IUnaryNegationOperators<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IUnaryPlusOperators<System::Numerics::BigInteger, System::Numerics::BigInteger>
public value class BigInteger : IComparable, IComparable<System::Numerics::BigInteger>, IEquatable<System::Numerics::BigInteger>, ISpanFormattable
public value class BigInteger : IComparable<System::Numerics::BigInteger>, IEquatable<System::Numerics::BigInteger>, IParsable<System::Numerics::BigInteger>, ISpanParsable<System::Numerics::BigInteger>, System::Numerics::IAdditionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IAdditiveIdentity<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IBinaryInteger<System::Numerics::BigInteger>, System::Numerics::IBinaryNumber<System::Numerics::BigInteger>, System::Numerics::IBitwiseOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IComparisonOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, bool>, System::Numerics::IDecrementOperators<System::Numerics::BigInteger>, System::Numerics::IDivisionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IEqualityOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, bool>, System::Numerics::IIncrementOperators<System::Numerics::BigInteger>, System::Numerics::IModulusOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IMultiplicativeIdentity<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IMultiplyOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::INumber<System::Numerics::BigInteger>, System::Numerics::INumberBase<System::Numerics::BigInteger>, System::Numerics::IShiftOperators<System::Numerics::BigInteger, int, System::Numerics::BigInteger>, System::Numerics::ISignedNumber<System::Numerics::BigInteger>, System::Numerics::ISubtractionOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IUnaryNegationOperators<System::Numerics::BigInteger, System::Numerics::BigInteger>, System::Numerics::IUnaryPlusOperators<System::Numerics::BigInteger, System::Numerics::BigInteger>
public struct BigInteger : IComparable, IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IFormattable
public readonly struct BigInteger : IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IParsable<System.Numerics.BigInteger>, ISpanParsable<System.Numerics.BigInteger>, IUtf8SpanParsable<System.Numerics.BigInteger>, System.Numerics.IAdditionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IAdditiveIdentity<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IBinaryInteger<System.Numerics.BigInteger>, System.Numerics.IBinaryNumber<System.Numerics.BigInteger>, System.Numerics.IBitwiseOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IComparisonOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,bool>, System.Numerics.IDecrementOperators<System.Numerics.BigInteger>, System.Numerics.IDivisionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IEqualityOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,bool>, System.Numerics.IIncrementOperators<System.Numerics.BigInteger>, System.Numerics.IModulusOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IMultiplicativeIdentity<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IMultiplyOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.INumber<System.Numerics.BigInteger>, System.Numerics.INumberBase<System.Numerics.BigInteger>, System.Numerics.IShiftOperators<System.Numerics.BigInteger,int,System.Numerics.BigInteger>, System.Numerics.ISignedNumber<System.Numerics.BigInteger>, System.Numerics.ISubtractionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IUnaryNegationOperators<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IUnaryPlusOperators<System.Numerics.BigInteger,System.Numerics.BigInteger>
public readonly struct BigInteger : IComparable, IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IFormattable
public readonly struct BigInteger : IComparable, IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, ISpanFormattable
public readonly struct BigInteger : IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IParsable<System.Numerics.BigInteger>, ISpanParsable<System.Numerics.BigInteger>, System.Numerics.IAdditionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IAdditiveIdentity<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IBinaryInteger<System.Numerics.BigInteger>, System.Numerics.IBinaryNumber<System.Numerics.BigInteger>, System.Numerics.IBitwiseOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IComparisonOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,bool>, System.Numerics.IDecrementOperators<System.Numerics.BigInteger>, System.Numerics.IDivisionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IEqualityOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,bool>, System.Numerics.IIncrementOperators<System.Numerics.BigInteger>, System.Numerics.IModulusOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IMultiplicativeIdentity<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IMultiplyOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.INumber<System.Numerics.BigInteger>, System.Numerics.INumberBase<System.Numerics.BigInteger>, System.Numerics.IShiftOperators<System.Numerics.BigInteger,int,System.Numerics.BigInteger>, System.Numerics.ISignedNumber<System.Numerics.BigInteger>, System.Numerics.ISubtractionOperators<System.Numerics.BigInteger,System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IUnaryNegationOperators<System.Numerics.BigInteger,System.Numerics.BigInteger>, System.Numerics.IUnaryPlusOperators<System.Numerics.BigInteger,System.Numerics.BigInteger>
[System.Serializable]
public struct BigInteger : IComparable, IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IFormattable
type BigInteger = struct
    interface IFormattable
type BigInteger = struct
    interface IFormattable
    interface IParsable<BigInteger>
    interface ISpanFormattable
    interface ISpanParsable<BigInteger>
    interface IAdditionOperators<BigInteger, BigInteger, BigInteger>
    interface IAdditiveIdentity<BigInteger, BigInteger>
    interface IBinaryInteger<BigInteger>
    interface IBinaryNumber<BigInteger>
    interface IBitwiseOperators<BigInteger, BigInteger, BigInteger>
    interface IComparisonOperators<BigInteger, BigInteger, bool>
    interface IEqualityOperators<BigInteger, BigInteger, bool>
    interface IDecrementOperators<BigInteger>
    interface IDivisionOperators<BigInteger, BigInteger, BigInteger>
    interface IIncrementOperators<BigInteger>
    interface IModulusOperators<BigInteger, BigInteger, BigInteger>
    interface IMultiplicativeIdentity<BigInteger, BigInteger>
    interface IMultiplyOperators<BigInteger, BigInteger, BigInteger>
    interface INumber<BigInteger>
    interface INumberBase<BigInteger>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<BigInteger>
    interface ISubtractionOperators<BigInteger, BigInteger, BigInteger>
    interface IUnaryNegationOperators<BigInteger, BigInteger>
    interface IUnaryPlusOperators<BigInteger, BigInteger>
    interface IShiftOperators<BigInteger, int, BigInteger>
    interface ISignedNumber<BigInteger>
type BigInteger = struct
    interface IFormattable
    interface IParsable<BigInteger>
    interface ISpanFormattable
    interface ISpanParsable<BigInteger>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<BigInteger>
    interface IAdditionOperators<BigInteger, BigInteger, BigInteger>
    interface IAdditiveIdentity<BigInteger, BigInteger>
    interface IBinaryInteger<BigInteger>
    interface IBinaryNumber<BigInteger>
    interface IBitwiseOperators<BigInteger, BigInteger, BigInteger>
    interface IComparisonOperators<BigInteger, BigInteger, bool>
    interface IEqualityOperators<BigInteger, BigInteger, bool>
    interface IDecrementOperators<BigInteger>
    interface IDivisionOperators<BigInteger, BigInteger, BigInteger>
    interface IIncrementOperators<BigInteger>
    interface IModulusOperators<BigInteger, BigInteger, BigInteger>
    interface IMultiplicativeIdentity<BigInteger, BigInteger>
    interface IMultiplyOperators<BigInteger, BigInteger, BigInteger>
    interface INumber<BigInteger>
    interface INumberBase<BigInteger>
    interface ISubtractionOperators<BigInteger, BigInteger, BigInteger>
    interface IUnaryNegationOperators<BigInteger, BigInteger>
    interface IUnaryPlusOperators<BigInteger, BigInteger>
    interface IShiftOperators<BigInteger, int, BigInteger>
    interface ISignedNumber<BigInteger>
type BigInteger = struct
    interface ISpanFormattable
    interface IFormattable
type BigInteger = struct
    interface IFormattable
    interface IParsable<BigInteger>
    interface ISpanFormattable
    interface ISpanParsable<BigInteger>
    interface IAdditionOperators<BigInteger, BigInteger, BigInteger>
    interface IAdditiveIdentity<BigInteger, BigInteger>
    interface IBinaryInteger<BigInteger>
    interface IBinaryNumber<BigInteger>
    interface IBitwiseOperators<BigInteger, BigInteger, BigInteger>
    interface IComparisonOperators<BigInteger, BigInteger, bool>
    interface IEqualityOperators<BigInteger, BigInteger, bool>
    interface IDecrementOperators<BigInteger>
    interface IDivisionOperators<BigInteger, BigInteger, BigInteger>
    interface IIncrementOperators<BigInteger>
    interface IModulusOperators<BigInteger, BigInteger, BigInteger>
    interface IMultiplicativeIdentity<BigInteger, BigInteger>
    interface IMultiplyOperators<BigInteger, BigInteger, BigInteger>
    interface INumber<BigInteger>
    interface INumberBase<BigInteger>
    interface ISubtractionOperators<BigInteger, BigInteger, BigInteger>
    interface IUnaryNegationOperators<BigInteger, BigInteger>
    interface IUnaryPlusOperators<BigInteger, BigInteger>
    interface IShiftOperators<BigInteger, int, BigInteger>
    interface ISignedNumber<BigInteger>
type BigInteger = struct
    interface IFormattable
    interface IParsable<BigInteger>
    interface ISpanFormattable
    interface ISpanParsable<BigInteger>
    interface IAdditionOperators<BigInteger, BigInteger, BigInteger>
    interface IAdditiveIdentity<BigInteger, BigInteger>
    interface IBinaryInteger<BigInteger>
    interface IBinaryNumber<BigInteger>
    interface IBitwiseOperators<BigInteger, BigInteger, BigInteger>
    interface IComparisonOperators<BigInteger, BigInteger, bool>
    interface IEqualityOperators<BigInteger, BigInteger, bool>
    interface IDecrementOperators<BigInteger>
    interface IDivisionOperators<BigInteger, BigInteger, BigInteger>
    interface IIncrementOperators<BigInteger>
    interface IModulusOperators<BigInteger, BigInteger, BigInteger>
    interface IMultiplicativeIdentity<BigInteger, BigInteger>
    interface IMultiplyOperators<BigInteger, BigInteger, BigInteger>
    interface INumber<BigInteger>
    interface INumberBase<BigInteger>
    interface ISubtractionOperators<BigInteger, BigInteger, BigInteger>
    interface IUnaryNegationOperators<BigInteger, BigInteger>
    interface IUnaryPlusOperators<BigInteger, BigInteger>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<BigInteger>
    interface IShiftOperators<BigInteger, int, BigInteger>
    interface ISignedNumber<BigInteger>
[<System.Serializable>]
type BigInteger = struct
    interface IFormattable
Public Structure BigInteger
Implements IComparable, IComparable(Of BigInteger), IEquatable(Of BigInteger), IFormattable
Public Structure BigInteger
Implements IAdditionOperators(Of BigInteger, BigInteger, BigInteger), IAdditiveIdentity(Of BigInteger, BigInteger), IBinaryInteger(Of BigInteger), IBinaryNumber(Of BigInteger), IBitwiseOperators(Of BigInteger, BigInteger, BigInteger), IComparable(Of BigInteger), IComparisonOperators(Of BigInteger, BigInteger, Boolean), IDecrementOperators(Of BigInteger), IDivisionOperators(Of BigInteger, BigInteger, BigInteger), IEqualityOperators(Of BigInteger, BigInteger, Boolean), IEquatable(Of BigInteger), IIncrementOperators(Of BigInteger), IModulusOperators(Of BigInteger, BigInteger, BigInteger), IMultiplicativeIdentity(Of BigInteger, BigInteger), IMultiplyOperators(Of BigInteger, BigInteger, BigInteger), INumber(Of BigInteger), INumberBase(Of BigInteger), IParsable(Of BigInteger), IShiftOperators(Of BigInteger, Integer, BigInteger), ISignedNumber(Of BigInteger), ISpanParsable(Of BigInteger), ISubtractionOperators(Of BigInteger, BigInteger, BigInteger), IUnaryNegationOperators(Of BigInteger, BigInteger), IUnaryPlusOperators(Of BigInteger, BigInteger), IUtf8SpanParsable(Of BigInteger)
Public Structure BigInteger
Implements IComparable, IComparable(Of BigInteger), IEquatable(Of BigInteger), ISpanFormattable
Public Structure BigInteger
Implements IAdditionOperators(Of BigInteger, BigInteger, BigInteger), IAdditiveIdentity(Of BigInteger, BigInteger), IBinaryInteger(Of BigInteger), IBinaryNumber(Of BigInteger), IBitwiseOperators(Of BigInteger, BigInteger, BigInteger), IComparable(Of BigInteger), IComparisonOperators(Of BigInteger, BigInteger, Boolean), IDecrementOperators(Of BigInteger), IDivisionOperators(Of BigInteger, BigInteger, BigInteger), IEqualityOperators(Of BigInteger, BigInteger, Boolean), IEquatable(Of BigInteger), IIncrementOperators(Of BigInteger), IModulusOperators(Of BigInteger, BigInteger, BigInteger), IMultiplicativeIdentity(Of BigInteger, BigInteger), IMultiplyOperators(Of BigInteger, BigInteger, BigInteger), INumber(Of BigInteger), INumberBase(Of BigInteger), IParsable(Of BigInteger), IShiftOperators(Of BigInteger, Integer, BigInteger), ISignedNumber(Of BigInteger), ISpanParsable(Of BigInteger), ISubtractionOperators(Of BigInteger, BigInteger, BigInteger), IUnaryNegationOperators(Of BigInteger, BigInteger), IUnaryPlusOperators(Of BigInteger, BigInteger)
Herencia
BigInteger
Atributos
Implementaciones
IComparable IComparable<BigInteger> IEquatable<BigInteger> IFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<BigInteger> IParsable<TSelf> ISpanFormattable ISpanParsable<BigInteger> ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<BigInteger> IUtf8SpanParsable<TSelf> IAdditionOperators<BigInteger,BigInteger,BigInteger> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<BigInteger,BigInteger> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<BigInteger> IBinaryNumber<BigInteger> IBinaryNumber<TSelf> IBitwiseOperators<BigInteger,BigInteger,BigInteger> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<BigInteger,BigInteger,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<BigInteger> IDecrementOperators<TSelf> IDivisionOperators<BigInteger,BigInteger,BigInteger> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<BigInteger,BigInteger,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<BigInteger> IIncrementOperators<TSelf> IModulusOperators<BigInteger,BigInteger,BigInteger> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<BigInteger,BigInteger> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<BigInteger,BigInteger,BigInteger> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<BigInteger> INumber<TSelf> INumberBase<BigInteger> INumberBase<TSelf> IShiftOperators<BigInteger,Int32,BigInteger> IShiftOperators<TSelf,Int32,TSelf> ISignedNumber<BigInteger> ISubtractionOperators<BigInteger,BigInteger,BigInteger> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<BigInteger,BigInteger> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<BigInteger,BigInteger> IUnaryPlusOperators<TSelf,TSelf>

Comentarios

Para obtener más información sobre esta API, consulte Comentarios complementarios de api para BigInteger.

Constructores

Nombre Description
BigInteger(Byte[])

Inicializa una nueva instancia de la BigInteger estructura mediante los valores de una matriz de bytes.

BigInteger(Decimal)

Inicializa una nueva instancia de la BigInteger estructura mediante un Decimal valor .

BigInteger(Double)

Inicializa una nueva instancia de la BigInteger estructura mediante un valor de punto flotante de precisión doble.

BigInteger(Int32)

Inicializa una nueva instancia de la BigInteger estructura con un valor entero de 32 bits con signo.

BigInteger(Int64)

Inicializa una nueva instancia de la BigInteger estructura mediante un valor entero con signo de 64 bits.

BigInteger(ReadOnlySpan<Byte>, Boolean, Boolean)

Inicializa una nueva instancia de la BigInteger estructura mediante los valores de un intervalo de bytes de solo lectura y, opcionalmente, indica la codificación de firma y el orden de bytes de endianness.

BigInteger(Single)

Inicializa una nueva instancia de la BigInteger estructura mediante un valor de punto flotante de precisión única.

BigInteger(UInt32)

Inicializa una nueva instancia de la BigInteger estructura con un valor entero de 32 bits sin signo.

BigInteger(UInt64)

Inicializa una nueva instancia de la BigInteger estructura con un valor entero de 64 bits sin signo.

Propiedades

Nombre Description
IsEven

Indica si el valor del objeto actual BigInteger es un número par.

IsOne

Indica si el valor del objeto actual BigInteger es One.

IsPowerOfTwo

Indica si el valor del objeto actual BigInteger es una potencia de dos.

IsZero

Indica si el valor del objeto actual BigInteger es Zero.

MinusOne

Obtiene un valor que representa el número negativo uno (-1).

One

Obtiene un valor que representa el número uno (1).

Sign

Obtiene un número que indica el signo (negativo, positivo o cero) del objeto actual BigInteger .

Zero

Obtiene un valor que representa el número 0 (cero).

Métodos

Nombre Description
Abs(BigInteger)

Obtiene el valor absoluto de un BigInteger objeto .

Add(BigInteger, BigInteger)

Agrega dos BigInteger valores y devuelve el resultado.

Clamp(BigInteger, BigInteger, BigInteger)

Fija un valor en un valor mínimo inclusivo y máximo.

Compare(BigInteger, BigInteger)

Compara dos BigInteger valores y devuelve un entero que indica si el primer valor es menor, igual o mayor que el segundo valor.

CompareTo(BigInteger)

Compara esta instancia con un segundo BigInteger y devuelve un entero que indica si el valor de esta instancia es menor, igual o mayor que el valor del objeto especificado.

CompareTo(Int64)

Compara esta instancia con un entero de 64 bits con signo y devuelve un entero que indica si el valor de esta instancia es menor, igual o mayor que el valor del entero de 64 bits con signo.

CompareTo(Object)

Compara esta instancia con un objeto especificado y devuelve un entero que indica si el valor de esta instancia es menor, igual o mayor que el valor del objeto especificado.

CompareTo(UInt64)

Compara esta instancia con un entero de 64 bits sin signo y devuelve un entero que indica si el valor de esta instancia es menor, igual o mayor que el valor del entero de 64 bits sin signo.

CopySign(BigInteger, BigInteger)

Copia el signo de un valor en el signo de otro valor.

CreateChecked<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, iniciando una excepción de desbordamiento para los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

CreateSaturating<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, saturando los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

CreateTruncating<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, truncando los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

Divide(BigInteger, BigInteger)

Divide un BigInteger valor por otro y devuelve el resultado.

DivRem(BigInteger, BigInteger, BigInteger)

Divide un BigInteger valor por otro, devuelve el resultado y devuelve el resto en un parámetro de salida.

DivRem(BigInteger, BigInteger)

Calcula el cociente y el resto de dos valores.

Equals(BigInteger)

Devuelve un valor que indica si la instancia actual y un objeto especificado BigInteger tienen el mismo valor.

Equals(Int64)

Devuelve un valor que indica si la instancia actual y un entero de 64 bits con signo tienen el mismo valor.

Equals(Object)

Devuelve un valor que indica si la instancia actual y un objeto especificado tienen el mismo valor.

Equals(UInt64)

Devuelve un valor que indica si la instancia actual y un entero de 64 bits sin signo tienen el mismo valor.

GetBitLength()

Obtiene el número de bits necesarios para la representación complementaria más corta de dos de la instancia actual sin el bit de signo.

GetByteCount(Boolean)

Obtiene el número de bytes que generará ToByteArray(Boolean, Boolean) y TryWriteBytes(Span<Byte>, Int32, Boolean, Boolean).

GetHashCode()

Devuelve el código hash del objeto actual BigInteger .

GreatestCommonDivisor(BigInteger, BigInteger)

Busca el divisor más común de dos BigInteger valores.

IsEvenInteger(BigInteger)

Determina si un valor representa un número entero par.

IsNegative(BigInteger)

Determina si un valor es negativo.

IsOddInteger(BigInteger)

Determina si un valor representa un número entero impar.

IsPositive(BigInteger)

Determina si un valor es positivo.

IsPow2(BigInteger)

Determina si un valor es una potencia de dos.

LeadingZeroCount(BigInteger)

Calcula el número de ceros iniciales en un valor.

Log(BigInteger, Double)

Devuelve el logaritmo de un número especificado en una base especificada.

Log(BigInteger)

Devuelve el logaritmo natural (base e) de un número especificado.

Log10(BigInteger)

Devuelve el logaritmo base 10 de un número especificado.

Log2(BigInteger)

Calcula el registro2 de un valor.

Max(BigInteger, BigInteger)

Devuelve el mayor de dos BigInteger valores.

MaxMagnitude(BigInteger, BigInteger)

Compara dos valores con el proceso, que es mayor.

Min(BigInteger, BigInteger)

Devuelve el menor de dos BigInteger valores.

MinMagnitude(BigInteger, BigInteger)

Compara dos valores con el proceso, que es menor.

ModPow(BigInteger, BigInteger, BigInteger)

Realiza la división de módulos en un número elevado a la potencia de otro número.

Multiply(BigInteger, BigInteger)

Devuelve el producto de dos BigInteger valores.

Negate(BigInteger)

Niega un valor especificado BigInteger .

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Representa un entero con signo de tamaño arbitrario grande.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Representa un entero con signo de tamaño arbitrario grande.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Analiza un intervalo de caracteres en un valor.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Convierte la representación de un número, contenido en el intervalo de solo lectura especificado de caracteres, en un estilo especificado a su BigInteger equivalente.

Parse(String, IFormatProvider)

Convierte la representación de cadena de un número en un formato específico de la referencia cultural especificado en su BigInteger equivalente.

Parse(String, NumberStyles, IFormatProvider)

Convierte la representación de cadena de un número en un estilo y formato específico de la referencia cultural especificados en su BigInteger equivalente.

Parse(String, NumberStyles)

Convierte la representación de cadena de un número en un estilo especificado en su BigInteger equivalente.

Parse(String)

Convierte la representación de cadena de un número en su BigInteger equivalente.

PopCount(BigInteger)

Calcula el número de bits que se establecen en un valor.

Pow(BigInteger, Int32)

Eleva un BigInteger valor a la potencia de un valor especificado.

Remainder(BigInteger, BigInteger)

Realiza la división de enteros en dos BigInteger valores y devuelve el resto.

RotateLeft(BigInteger, Int32)

Gira un valor de izquierda por una cantidad determinada.

RotateRight(BigInteger, Int32)

Gira un valor a la derecha por una cantidad determinada.

Subtract(BigInteger, BigInteger)

Resta un BigInteger valor de otro y devuelve el resultado.

ToByteArray()

Convierte un BigInteger valor en una matriz de bytes.

ToByteArray(Boolean, Boolean)

Devuelve el valor de esto BigInteger como una matriz de bytes con el menor número de bytes posible. Si el valor es cero, devuelve una matriz de un byte cuyo elemento es 0x00.

ToString()

Convierte el valor numérico del objeto actual BigInteger en su representación de cadena equivalente.

ToString(IFormatProvider)

Convierte el valor numérico del objeto actual BigInteger en su representación de cadena equivalente mediante la información de formato específica de la referencia cultural especificada.

ToString(String, IFormatProvider)

Convierte el valor numérico del objeto actual BigInteger en su representación de cadena equivalente mediante el formato especificado y la información de formato específica de la referencia cultural.

ToString(String)

Convierte el valor numérico del objeto actual BigInteger en su representación de cadena equivalente mediante el formato especificado.

TrailingZeroCount(BigInteger)

Calcula el número de ceros finales en un valor.

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Representa un entero con signo de tamaño arbitrario grande.

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Da formato a esta gran instancia de entero en un intervalo de caracteres.

TryParse(ReadOnlySpan<Byte>, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

TryParse(ReadOnlySpan<Char>, BigInteger)

Intenta convertir la representación de un número contenido en el intervalo de caracteres de solo lectura especificado, en su BigInteger equivalente y devuelve un valor que indica si la conversión se realizó correctamente.

TryParse(ReadOnlySpan<Char>, IFormatProvider, BigInteger)

Intenta analizar un intervalo de caracteres en un valor.

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, BigInteger)

Intenta convertir la representación de cadena de un número en su BigInteger equivalente y devuelve un valor que indica si la conversión se realizó correctamente.

TryParse(String, BigInteger)

Intenta convertir la representación de cadena de un número en su BigInteger equivalente y devuelve un valor que indica si la conversión se realizó correctamente.

TryParse(String, IFormatProvider, BigInteger)

Intenta analizar una cadena en un valor.

TryParse(String, NumberStyles, IFormatProvider, BigInteger)

Intenta convertir la representación de cadena de un número en un estilo especificado y un formato específico de la referencia cultural a su BigInteger equivalente y devuelve un valor que indica si la conversión se realizó correctamente.

TryWriteBytes(Span<Byte>, Int32, Boolean, Boolean)

Copia el valor de este BigInteger valor como bytes de complemento de dos endian, utilizando el menor número de bytes posible. Si el valor es cero, genera un byte cuyo elemento es 0x00.

Operadores

Nombre Description
Addition(BigInteger, BigInteger)

Agrega los valores de dos objetos especificados BigInteger .

BitwiseAnd(BigInteger, BigInteger)

Realiza una operación bit a bit And en dos BigInteger valores.

BitwiseOr(BigInteger, BigInteger)

Realiza una operación bit a bit Or en dos BigInteger valores.

Decrement(BigInteger)

Disminuye un BigInteger valor en 1.

Division(BigInteger, BigInteger)

Divide un valor especificado BigInteger por otro valor especificado BigInteger mediante la división de enteros.

Equality(BigInteger, BigInteger)

Devuelve un valor que indica si los valores de dos BigInteger objetos son iguales.

Equality(BigInteger, Int64)

Devuelve un valor que indica si un BigInteger valor y un valor entero largo con signo son iguales.

Equality(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor y un valor entero largo sin signo son iguales.

Equality(Int64, BigInteger)

Devuelve un valor que indica si un valor entero largo con signo y un BigInteger valor son iguales.

Equality(UInt64, BigInteger)

Devuelve un valor que indica si un valor entero largo sin signo y un BigInteger valor son iguales.

ExclusiveOr(BigInteger, BigInteger)

Realiza una operación exclusiva Or bit a bit (XOr) en dos BigInteger valores.

Explicit(BFloat16 to BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

Explicit(BigInteger to BFloat16)

Representa un entero con signo de tamaño arbitrario grande.

Explicit(BigInteger to Byte)

Define una conversión explícita de un BigInteger objeto a un valor de byte sin signo.

Explicit(BigInteger to Char)

Convierte explícitamente un entero grande en un Char valor.

Explicit(BigInteger to Decimal)

Define una conversión explícita de un BigInteger objeto a un Decimal valor.

Explicit(BigInteger to Double)

Define una conversión explícita de un BigInteger objeto a un Double valor.

Explicit(BigInteger to Half)

Convierte explícitamente un entero grande en un Half valor.

Explicit(BigInteger to Int128)

Convierte explícitamente un entero grande en un Int128 valor.

Explicit(BigInteger to Int16)

Define una conversión explícita de un BigInteger objeto a un valor entero de 16 bits con signo.

Explicit(BigInteger to Int32)

Define una conversión explícita de un BigInteger objeto a un valor entero de 32 bits con signo.

Explicit(BigInteger to Int64)

Define una conversión explícita de un BigInteger objeto a un valor entero con signo de 64 bits.

Explicit(BigInteger to IntPtr)

Convierte explícitamente un entero grande en un IntPtr valor.

Explicit(BigInteger to SByte)

Define una conversión explícita de un BigInteger objeto a un valor de 8 bits con signo.

Esta API no es conforme a CLS. La alternativa compatible es Int16.

Explicit(BigInteger to Single)

Define una conversión explícita de un BigInteger objeto a un valor de punto flotante de precisión sencilla.

Explicit(BigInteger to UInt128)

Convierte explícitamente un entero grande en un UInt128 valor.

Explicit(BigInteger to UInt16)

Define una conversión explícita de un BigInteger objeto a un valor entero de 16 bits sin signo.

Esta API no es conforme a CLS. La alternativa compatible es Int32.

Explicit(BigInteger to UInt32)

Define una conversión explícita de un BigInteger objeto a un valor entero de 32 bits sin signo.

Esta API no es conforme a CLS. La alternativa compatible es Int64.

Explicit(BigInteger to UInt64)

Define una conversión explícita de un BigInteger objeto en un valor entero de 64 bits sin signo.

Esta API no es conforme a CLS. La alternativa compatible es Double.

Explicit(BigInteger to UIntPtr)

Convierte explícitamente un entero grande en un UIntPtr valor.

Explicit(Complex to BigInteger)

Convierte explícitamente un Complex valor en un entero grande.

Explicit(Decimal to BigInteger)

Define una conversión explícita de un Decimal objeto a un BigInteger valor.

Explicit(Double to BigInteger)

Define una conversión explícita de un Double valor a un BigInteger valor.

Explicit(Half to BigInteger)

Convierte explícitamente un Half valor en un entero grande.

Explicit(Single to BigInteger)

Define una conversión explícita de un Single valor a un BigInteger valor.

GreaterThan(BigInteger, BigInteger)

Devuelve un valor que indica si un BigInteger valor es mayor que otro BigInteger valor.

GreaterThan(BigInteger, Int64)

Devuelve un valor que indica si es BigInteger mayor que un valor entero con signo de 64 bits.

GreaterThan(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor es mayor que un entero de 64 bits sin signo.

GreaterThan(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo es mayor que un BigInteger valor.

GreaterThan(UInt64, BigInteger)

Devuelve un valor que indica si un BigInteger valor es mayor que un entero de 64 bits sin signo.

GreaterThanOrEqual(BigInteger, BigInteger)

Devuelve un valor que indica si un BigInteger valor es mayor o igual que otro BigInteger valor.

GreaterThanOrEqual(BigInteger, Int64)

Devuelve un valor que indica si un BigInteger valor es mayor o igual que un valor entero con signo de 64 bits.

GreaterThanOrEqual(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor es mayor o igual que un valor entero de 64 bits sin signo.

GreaterThanOrEqual(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo es mayor o igual que un BigInteger valor.

GreaterThanOrEqual(UInt64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits sin signo es mayor o igual que un BigInteger valor.

Implicit(Byte to BigInteger)

Define una conversión implícita de un byte sin signo en un BigInteger valor.

Implicit(Char to BigInteger)

Convierte implícitamente un Char valor en un entero grande.

Implicit(Int128 to BigInteger)

Convierte implícitamente un Int128 valor en un entero grande.

Implicit(Int16 to BigInteger)

Define una conversión implícita de un entero de 16 bits con signo en un BigInteger valor.

Implicit(Int32 to BigInteger)

Define una conversión implícita de un entero de 32 bits con signo en un BigInteger valor.

Implicit(Int64 to BigInteger)

Define una conversión implícita de un entero de 64 bits con signo en un BigInteger valor.

Implicit(IntPtr to BigInteger)

Convierte implícitamente un IntPtr valor en un entero grande.

Implicit(SByte to BigInteger)

Define una conversión implícita de un entero de 8 bits con signo en un BigInteger valor.

Esta API no es conforme a CLS. La alternativa compatible es BigInteger(Int32).

Implicit(UInt128 to BigInteger)

Convierte implícitamente un UInt128 valor en un entero grande.

Implicit(UInt16 to BigInteger)

Define una conversión implícita de un entero de 16 bits sin signo en un BigInteger valor .

Esta API no es conforme a CLS. La alternativa compatible es Implicit(Int32 to BigInteger).

Implicit(UInt32 to BigInteger)

Define una conversión implícita de un entero de 32 bits sin signo en un BigInteger valor.

Esta API no es conforme a CLS. La alternativa compatible es Implicit(Int64 to BigInteger).

Implicit(UInt64 to BigInteger)

Define una conversión implícita de un entero de 64 bits sin signo en un BigInteger valor.

Esta API no es conforme a CLS. La alternativa compatible es Double.

Implicit(UIntPtr to BigInteger)

Convierte implícitamente un UIntPtr valor en un entero grande.

Increment(BigInteger)

Incrementa un BigInteger valor en 1.

Inequality(BigInteger, BigInteger)

Devuelve un valor que indica si dos BigInteger objetos tienen valores diferentes.

Inequality(BigInteger, Int64)

Devuelve un valor que indica si un BigInteger valor y un entero de 64 bits con signo no son iguales.

Inequality(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor y un entero de 64 bits sin signo no son iguales.

Inequality(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo y un BigInteger valor no son iguales.

Inequality(UInt64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits sin signo y un BigInteger valor no son iguales.

LeftShift(BigInteger, Int32)

Desplaza un BigInteger valor especificado número de bits a la izquierda.

LessThan(BigInteger, BigInteger)

Devuelve un valor que indica si un BigInteger valor es menor que otro BigInteger valor.

LessThan(BigInteger, Int64)

Devuelve un valor que indica si un BigInteger valor es menor que un entero de 64 bits con signo.

LessThan(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor es menor que un entero de 64 bits sin signo.

LessThan(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo es menor que un BigInteger valor.

LessThan(UInt64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits sin signo es menor que un BigInteger valor.

LessThanOrEqual(BigInteger, BigInteger)

Devuelve un valor que indica si un BigInteger valor es menor o igual que otro BigInteger valor.

LessThanOrEqual(BigInteger, Int64)

Devuelve un valor que indica si un BigInteger valor es menor o igual que un entero de 64 bits con signo.

LessThanOrEqual(BigInteger, UInt64)

Devuelve un valor que indica si un BigInteger valor es menor o igual que un entero de 64 bits sin signo.

LessThanOrEqual(Int64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits con signo es menor o igual que un BigInteger valor.

LessThanOrEqual(UInt64, BigInteger)

Devuelve un valor que indica si un entero de 64 bits sin signo es menor o igual que un BigInteger valor.

Modulus(BigInteger, BigInteger)

Devuelve el resto resultante de la división con dos valores especificados BigInteger .

Multiply(BigInteger, BigInteger)

Multiplica dos valores especificados BigInteger .

OnesComplement(BigInteger)

Devuelve el complemento bit a bit de un BigInteger valor.

RightShift(BigInteger, Int32)

Desplaza un valor de un BigInteger número especificado de bits a la derecha.

Subtraction(BigInteger, BigInteger)

Resta un BigInteger valor de otro BigInteger valor.

UnaryNegation(BigInteger)

Niega un valor BigInteger especificado.

UnaryPlus(BigInteger)

Devuelve el valor del BigInteger operando. (El signo del operando no cambia).

UnsignedRightShift(BigInteger, Int32)

Desplaza un valor hacia la derecha por una cantidad determinada.

Implementaciones de interfaz explícitas

Nombre Description
IAdditiveIdentity<BigInteger,BigInteger>.AdditiveIdentity

Obtiene la identidad de suma del tipo actual.

IBinaryInteger<BigInteger>.GetByteCount()

Obtiene el número de bytes que se escribirán como parte de TryWriteLittleEndian(Span<Byte>, Int32).

IBinaryInteger<BigInteger>.GetShortestBitLength()

Obtiene la longitud, en bits, de la representación complementaria de dos más corta del valor actual.

IBinaryInteger<BigInteger>.Log10(BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

IBinaryInteger<BigInteger>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

IBinaryInteger<BigInteger>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

IBinaryInteger<BigInteger>.TryWriteBigEndian(Span<Byte>, Int32)

Intenta escribir el valor actual, en formato big-endian, en un intervalo determinado.

IBinaryInteger<BigInteger>.TryWriteLittleEndian(Span<Byte>, Int32)

Intenta escribir el valor actual, en formato little-endian, en un intervalo determinado.

IBinaryNumber<BigInteger>.AllBitsSet

Obtiene una instancia del tipo binario en el que se establecen todos los bits.

IComparable.CompareTo(Object)

Compara esta instancia con un objeto especificado y devuelve un entero que indica si el valor de esta instancia es menor, igual o mayor que el valor del objeto especificado.

IMultiplicativeIdentity<BigInteger,BigInteger>.MultiplicativeIdentity

Obtiene la identidad multiplicativa del tipo actual.

INumber<BigInteger>.MaxNumber(BigInteger, BigInteger)

Compara dos valores con el proceso, que es mayor y devuelve el otro valor si una entrada es NaN.

INumber<BigInteger>.MinNumber(BigInteger, BigInteger)

Compara dos valores con el proceso que es menor y devuelve el otro valor si una entrada es NaN.

INumber<BigInteger>.Sign(BigInteger)

Calcula el signo de un valor.

INumberBase<BigInteger>.IsCanonical(BigInteger)

Determina si un valor está en su representación canónica.

INumberBase<BigInteger>.IsComplexNumber(BigInteger)

Determina si un valor representa un número complejo.

INumberBase<BigInteger>.IsFinite(BigInteger)

Determina si un valor es finito.

INumberBase<BigInteger>.IsImaginaryNumber(BigInteger)

Determina si un valor representa un número imaginario puro.

INumberBase<BigInteger>.IsInfinity(BigInteger)

Determina si un valor es infinito.

INumberBase<BigInteger>.IsInteger(BigInteger)

Determina si un valor representa un número entero.

INumberBase<BigInteger>.IsNaN(BigInteger)

Determina si un valor es NaN.

INumberBase<BigInteger>.IsNegativeInfinity(BigInteger)

Determina si un valor es infinito negativo.

INumberBase<BigInteger>.IsNormal(BigInteger)

Determina si un valor es normal.

INumberBase<BigInteger>.IsPositiveInfinity(BigInteger)

Determina si un valor es infinito positivo.

INumberBase<BigInteger>.IsRealNumber(BigInteger)

Determina si un valor representa un número real.

INumberBase<BigInteger>.IsSubnormal(BigInteger)

Determina si un valor es subnormal.

INumberBase<BigInteger>.IsZero(BigInteger)

Determina si un valor es cero.

INumberBase<BigInteger>.MaxMagnitudeNumber(BigInteger, BigInteger)

Compara dos valores con el proceso que tiene la magnitud mayor y devuelve el otro valor si una entrada es NaN.

INumberBase<BigInteger>.MinMagnitudeNumber(BigInteger, BigInteger)

Compara dos valores con el proceso que tiene la magnitud menor y devuelve el otro valor si una entrada es NaN.

INumberBase<BigInteger>.MultiplyAddEstimate(BigInteger, BigInteger, BigInteger)

Calcula una estimación de (left * right) + addend.

INumberBase<BigInteger>.Radix

Obtiene la raíz, o base, para el tipo.

INumberBase<BigInteger>.TryConvertFromChecked<TOther>(TOther, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

INumberBase<BigInteger>.TryConvertFromSaturating<TOther>(TOther, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

INumberBase<BigInteger>.TryConvertFromTruncating<TOther>(TOther, BigInteger)

Representa un entero con signo de tamaño arbitrario grande.

INumberBase<BigInteger>.TryConvertToChecked<TOther>(BigInteger, TOther)

Intenta convertir una instancia del tipo actual en otro tipo, iniciando una excepción de desbordamiento para los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

INumberBase<BigInteger>.TryConvertToSaturating<TOther>(BigInteger, TOther)

Intenta convertir una instancia del tipo actual en otro tipo, saturando los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

INumberBase<BigInteger>.TryConvertToTruncating<TOther>(BigInteger, TOther)

Intenta convertir una instancia del tipo actual en otro tipo, truncando los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

ISignedNumber<BigInteger>.NegativeOne

Obtiene el valor -1 del tipo .

Se aplica a