BigInteger Estructura

Definición

Representa un entero con signo arbitrariamente grande.

public value class BigInteger : IComparable, IComparable<System::Numerics::BigInteger>, IEquatable<System::Numerics::BigInteger>, IFormattable
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 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 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>, 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>
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>
[System.Serializable]
public struct BigInteger : IComparable, IComparable<System.Numerics.BigInteger>, IEquatable<System.Numerics.BigInteger>, IFormattable
type BigInteger = struct
    interface IFormattable
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>
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>
[<System.Serializable>]
type BigInteger = struct
    interface IFormattable
Public Structure BigInteger
Implements IComparable, IComparable(Of BigInteger), IEquatable(Of BigInteger), IFormattable
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)
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)
Herencia
BigInteger
Atributos
Implementaciones
IComparable IComparable<BigInteger> IEquatable<BigInteger> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<BigInteger> IParsable<TSelf> ISpanParsable<BigInteger> ISpanParsable<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> IUtf8SpanFormattable IUtf8SpanParsable<BigInteger> IUtf8SpanParsable<TSelf>

Comentarios

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

Constructores

BigInteger(Byte[])

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

BigInteger(Decimal)

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

BigInteger(Double)

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

BigInteger(Int32)

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

BigInteger(Int64)

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

BigInteger(ReadOnlySpan<Byte>, Boolean, Boolean)

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

BigInteger(Single)

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

BigInteger(UInt32)

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

BigInteger(UInt64)

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

Propiedades

IsEven

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

IsOne

Indica si el valor del objeto BigInteger actual es One.

IsPowerOfTwo

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

IsZero

Indica si el valor del objeto BigInteger actual es Zero.

MinusOne

Obtiene un valor que representa menos 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 BigInteger actual.

Zero

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

Métodos

Abs(BigInteger)

Obtiene el valor absoluto de un objeto BigInteger.

Add(BigInteger, BigInteger)

Suma dos valores BigInteger y devuelve el resultado.

Clamp(BigInteger, BigInteger, BigInteger)

Sujeta un valor a un valor mínimo inclusivo y máximo.

Compare(BigInteger, BigInteger)

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

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 mayor, igual o menor 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 representable 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 representable 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 representable del tipo actual.

Divide(BigInteger, BigInteger)

Divide un valor BigInteger por otro y devuelve el resultado.

DivRem(BigInteger, BigInteger)

Calcula el cociente y el resto de dos valores.

DivRem(BigInteger, BigInteger, BigInteger)

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

Equals(BigInteger)

Devuelve un valor que indica si la instancia actual y un objeto BigInteger especificado 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 de complemento más corta de dos de la instancia actual sin el bit de signo.

GetByteCount(Boolean)

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

GetHashCode()

Devuelve el código hash del objeto BigInteger actual.

GreatestCommonDivisor(BigInteger, BigInteger)

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

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)

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

Log(BigInteger, Double)

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

Log10(BigInteger)

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

Log2(BigInteger)

Calcula el registro2 de un valor.

Max(BigInteger, BigInteger)

Devuelve el mayor de dos valores BigInteger.

MaxMagnitude(BigInteger, BigInteger)

Compara dos valores con el proceso, que es mayor.

Min(BigInteger, BigInteger)

Devuelve el menor de dos valores BigInteger.

MinMagnitude(BigInteger, BigInteger)

Compara dos valores con el proceso, que es menor.

ModPow(BigInteger, BigInteger, BigInteger)

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

Multiply(BigInteger, BigInteger)

Devuelve el producto de dos valores BigInteger.

Negate(BigInteger)

Crea el negativo de un valor BigInteger especificado.

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, incluida en el intervalo de solo lectura especificado de caracteres, en un estilo especificado en su equivalente BigInteger.

Parse(String)

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

Parse(String, IFormatProvider)

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

Parse(String, NumberStyles)

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

Parse(String, NumberStyles, IFormatProvider)

Convierte la representación de cadena de un número con el estilo y el formato específico de la referencia cultural que se hayan especificado en su equivalente de BigInteger.

PopCount(BigInteger)

Calcula el número de bits establecidos en un valor.

Pow(BigInteger, Int32)

Eleva un valor BigInteger a la potencia del valor especificado.

Remainder(BigInteger, BigInteger)

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

RotateLeft(BigInteger, Int32)

Gira un valor a la izquierda por una cantidad determinada.

RotateRight(BigInteger, Int32)

Gira un valor a la derecha por una cantidad determinada.

Subtract(BigInteger, BigInteger)

Resta un valor BigInteger de otro y devuelve el resultado.

ToByteArray()

Convierte un valor BigInteger en una matriz de bytes.

ToByteArray(Boolean, Boolean)

Devuelve el valor de este objeto BigInteger como una matriz de bytes usando 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 BigInteger actual en su representación de cadena equivalente.

ToString(IFormatProvider)

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

ToString(String)

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

ToString(String, IFormatProvider)

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

TrailingZeroCount(BigInteger)

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

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

Aplica formato de intervalo de caracteres a esta instancia de entero grande.

TryParse(ReadOnlySpan<Char>, BigInteger)

Intenta convertir la representación de un número incluido en el intervalo de caracteres de solo lectura especificado en su equivalente BigInteger y devuelve un valor que indica si la conversión se ha realizado 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 en forma de cadena de un número en su equivalente BigInteger y devuelve un valor que indica si la conversión tuvo éxito.

TryParse(String, BigInteger)

Intenta convertir la representación en forma de cadena de un número en su equivalente BigInteger y devuelve un valor que indica si la conversión tuvo éxito.

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 con un estilo específico y un formato específico de la referencia cultural en su equivalente de BigInteger y devuelve un valor que indica si la conversión fue correcta.

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

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

Operadores

Addition(BigInteger, BigInteger)

Suma los valores de dos objetos BigInteger especificados.

BitwiseAnd(BigInteger, BigInteger)

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

BitwiseOr(BigInteger, BigInteger)

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

Decrement(BigInteger)

Disminuye un valor BigInteger en 1.

Division(BigInteger, BigInteger)

Divide un valor BigInteger especificado por otro valor BigInteger indicado utilizando división de enteros.

Equality(BigInteger, BigInteger)

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

Equality(BigInteger, Int64)

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

Equality(BigInteger, UInt64)

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

Equality(Int64, BigInteger)

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

Equality(UInt64, BigInteger)

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

ExclusiveOr(BigInteger, BigInteger)

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

Explicit(BigInteger to Byte)

Define una conversión explícita de un objeto BigInteger en 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 objeto BigInteger en un valor Decimal.

Explicit(BigInteger to Double)

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

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 objeto BigInteger en un valor entero de 16 bits con signo.

Explicit(BigInteger to Int32)

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

Explicit(BigInteger to Int64)

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

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 objeto BigInteger en un valor de 8 bits con signo.

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

Explicit(BigInteger to Single)

Define una conversión explícita de un objeto BigInteger en 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 objeto BigInteger en un valor entero de 16 bits sin signo.

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

Explicit(BigInteger to UInt32)

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

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

Explicit(BigInteger to UInt64)

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

Esta API no es conforme a CLS. La alternativa conforme 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 objeto Decimal en un valor BigInteger.

Explicit(Double to BigInteger)

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

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 valor Single en un valor BigInteger.

GreaterThan(BigInteger, BigInteger)

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

GreaterThan(BigInteger, Int64)

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

GreaterThan(BigInteger, UInt64)

Devuelve un valor que indica si un valor BigInteger 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 valor BigInteger.

GreaterThan(UInt64, BigInteger)

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

GreaterThanOrEqual(BigInteger, BigInteger)

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

GreaterThanOrEqual(BigInteger, Int64)

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

GreaterThanOrEqual(BigInteger, UInt64)

Devuelve un valor que indica si un valor BigInteger 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 valor BigInteger.

GreaterThanOrEqual(UInt64, BigInteger)

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

Implicit(Byte to BigInteger)

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

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 valor BigInteger.

Implicit(Int32 to BigInteger)

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

Implicit(Int64 to BigInteger)

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

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 valor BigInteger.

Esta API no es conforme a CLS. La alternativa conforme 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 valor BigInteger.

Esta API no es conforme a CLS. La alternativa conforme 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 valor BigInteger.

Esta API no es conforme a CLS. La alternativa conforme 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 valor BigInteger.

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

Implicit(UIntPtr to BigInteger)

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

Increment(BigInteger)

Aumenta un valor BigInteger en 1.

Inequality(BigInteger, BigInteger)

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

Inequality(BigInteger, Int64)

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

Inequality(BigInteger, UInt64)

Devuelve un valor que indica si un valor BigInteger y un valor 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 valor BigInteger no son iguales.

Inequality(UInt64, BigInteger)

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

LeftShift(BigInteger, Int32)

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

LessThan(BigInteger, BigInteger)

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

LessThan(BigInteger, Int64)

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

LessThan(BigInteger, UInt64)

Devuelve un valor que indica si un valor BigInteger 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 valor BigInteger.

LessThan(UInt64, BigInteger)

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

LessThanOrEqual(BigInteger, BigInteger)

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

LessThanOrEqual(BigInteger, Int64)

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

LessThanOrEqual(BigInteger, UInt64)

Devuelve un valor que indica si un valor BigInteger 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 valor BigInteger.

LessThanOrEqual(UInt64, BigInteger)

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

Modulus(BigInteger, BigInteger)

Devuelve el resto que se obtiene al dividir dos valores BigInteger especificados.

Multiply(BigInteger, BigInteger)

Multiplica dos valores BigInteger especificados.

OnesComplement(BigInteger)

Devuelve el complemento de uno bit a bit de un valor BigInteger.

RightShift(BigInteger, Int32)

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

Subtraction(BigInteger, BigInteger)

Resta un valor BigInteger de otro valor BigInteger.

UnaryNegation(BigInteger)

Crea el negativo de un valor BigInteger especificado.

UnaryPlus(BigInteger)

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

UnsignedRightShift(BigInteger, Int32)

Desplaza un valor a la derecha por una cantidad determinada.

Implementaciones de interfaz explícitas

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>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, BigInteger)

Representa un entero con signo arbitrariamente grande.

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

Representa un entero con signo arbitrariamente 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 mayor, igual o menor 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>.Radix

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

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

Representa un entero con signo arbitrariamente grande.

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

Representa un entero con signo arbitrariamente grande.

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

Representa un entero con signo arbitrariamente 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 representable 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 representable 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 representable del tipo actual.

ISignedNumber<BigInteger>.NegativeOne

Obtiene el valor -1 del tipo.

Se aplica a