BigInteger Estrutura

Definição

Representa um inteiro com sinal 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)
Herança
BigInteger
Atributos
Implementações
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>

Comentários

Para obter mais informações sobre essa API, consulte Comentários sobre a API Complementar para BigInteger.

Construtores

BigInteger(Byte[])

Inicializa uma nova instância da estrutura BigInteger usando os valores de uma matriz de bytes.

BigInteger(Decimal)

Inicializa uma nova instância da estrutura BigInteger usando um valor Decimal.

BigInteger(Double)

Inicializa uma nova instância de estrutura BigInteger usando um valor de ponto flutuante de precisão dupla.

BigInteger(Int32)

Inicializa uma nova instância da estrutura BigInteger usando um valor inteiro com sinal de 32 bits.

BigInteger(Int64)

Inicializa uma nova instância da estrutura BigInteger usando um valor inteiro com sinal de 64 bits.

BigInteger(ReadOnlySpan<Byte>, Boolean, Boolean)

Inicializa uma nova instância da estrutura BigInteger usando os valores em um intervalo de bytes somente leitura e, opcionalmente, indicando a codificação de assinatura e a ordem de byte com endian.

BigInteger(Single)

Inicializa uma nova instância da estrutura BigInteger usando um valor de ponto flutuante de precisão simples.

BigInteger(UInt32)

Inicializa uma nova instância da estrutura BigInteger usando um valor inteiro de 32 bits sem sinal.

BigInteger(UInt64)

Inicializa uma nova instância da estrutura BigInteger com um valor inteiro de 64 bits sem sinal.

Propriedades

IsEven

Indica se o valor do objeto BigInteger atual é um número par.

IsOne

Indica se o valor do objeto BigInteger atual é One.

IsPowerOfTwo

Indica se o valor do objeto BigInteger atual é uma potência de dois.

IsZero

Indica se o valor do objeto BigInteger atual é Zero.

MinusOne

Obtém um valor que representa o número um negativo (-1).

One

Obtém um valor que representa o número um (1).

Sign

Obtém um número que indica o sinal (negativo, positivo ou zero) do objeto BigInteger atual.

Zero

Obtém um valor que representa o número 0 (zero).

Métodos

Abs(BigInteger)

Obtém o valor absoluto de um objeto BigInteger.

Add(BigInteger, BigInteger)

Adiciona dois valores de BigInteger e retorna o resultado.

Clamp(BigInteger, BigInteger, BigInteger)

Fixa um valor a um valor mínimo inclusivo e máximo.

Compare(BigInteger, BigInteger)

Compara dois valores BigInteger e retorna um inteiro que indica se o primeiro valor é menor que, igual a ou maior que o segundo valor.

CompareTo(BigInteger)

Compara esta instância a um segundo BigInteger e retorna um inteiro que indica se o valor desta instância é menor, igual ou maior que o valor do objeto especificado.

CompareTo(Int64)

Compara essa instância a um inteiro com sinal de 64 bits e retorna um inteiro que indica se o valor dessa instância é menor, igual ou maior que o valor do inteiro com sinal de 64 bits.

CompareTo(Object)

Compara esta instância a um objeto especificado e retorna um inteiro que indica se o valor desta instância é menor, igual ou maior que o valor do objeto especificado.

CompareTo(UInt64)

Compara essa instância a um inteiro sem sinal de 64 bits e retorna um inteiro que indica se o valor dessa instância é menor, igual ou maior que o valor do inteiro sem sinal de 64 bits.

CopySign(BigInteger, BigInteger)

Copia o sinal de um valor para o sinal de outro valor.

CreateChecked<TOther>(TOther)

Cria uma instância do tipo atual de um valor, gerando uma exceção de estouro para todos os valores que ficam fora do intervalo representável do tipo atual.

CreateSaturating<TOther>(TOther)

Cria uma instância do tipo atual de um valor, saturando todos os valores que ficam fora do intervalo representável do tipo atual.

CreateTruncating<TOther>(TOther)

Cria uma instância do tipo atual de um valor, truncando todos os valores que ficam fora do intervalo representável do tipo atual.

Divide(BigInteger, BigInteger)

Divide um valor BigInteger em outro e retorna o resultado.

DivRem(BigInteger, BigInteger)

Calcula o quociente e o restante de dois valores.

DivRem(BigInteger, BigInteger, BigInteger)

Divide um valor BigInteger por outro, retorna o resultado e retorna o restante em um parâmetro de saída.

Equals(BigInteger)

Retorna um valor que indica se a instância atual e um objeto BigInteger especificado têm o mesmo valor.

Equals(Int64)

Retorna um valor que indica se a instância atual e um inteiro com sinal de 64 bits têm o mesmo valor.

Equals(Object)

Retorna um valor que indica se a instância atual e um objeto especificado têm o mesmo valor.

Equals(UInt64)

Retorna um valor que indica se a instância atual e um inteiro sem sinal de 64 bits têm o mesmo valor.

GetBitLength()

Obtém o número de bits necessários da representação mais curta de complemento de dois da instância atual sem o bit de sinal.

GetByteCount(Boolean)

Obtém o número de bytes que serão gerados por ToByteArray(Boolean, Boolean) e TryWriteBytes(Span<Byte>, Int32, Boolean, Boolean).

GetHashCode()

Retorna o código hash para o objeto BigInteger atual.

GreatestCommonDivisor(BigInteger, BigInteger)

Localiza o maior divisor comum de dois valores BigInteger.

IsEvenInteger(BigInteger)

Determina se um valor representa um número integral par.

IsNegative(BigInteger)

Determina se um valor é negativo.

IsOddInteger(BigInteger)

Determina se um valor representa um número integral ímpar.

IsPositive(BigInteger)

Determina se um valor é positivo.

IsPow2(BigInteger)

Determina se um valor é uma potência de dois.

LeadingZeroCount(BigInteger)

Calcula o número de zeros à esquerda em um valor.

Log(BigInteger)

Retorna o logaritmo natural (de base e) de um número especificado.

Log(BigInteger, Double)

Retorna o logaritmo de um número especificado em uma base especificada.

Log10(BigInteger)

Retorna o logaritmo de base 10 de um número especificado.

Log2(BigInteger)

Calcula o log2 de um valor.

Max(BigInteger, BigInteger)

Retorna o maior dos dois valores BigInteger.

MaxMagnitude(BigInteger, BigInteger)

Compara dois valores com a computação, que é maior.

Min(BigInteger, BigInteger)

Retorna o menor de dois valores BigInteger.

MinMagnitude(BigInteger, BigInteger)

Compara dois valores com a computação que é menor.

ModPow(BigInteger, BigInteger, BigInteger)

Executa a divisão de módulo em um número elevado à potência de outro número.

Multiply(BigInteger, BigInteger)

Retorna o produto de dois valores BigInteger.

Negate(BigInteger)

Nega um valor BigInteger especificado.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Analisa um intervalo de caracteres em um valor.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Converte a representação de um número, contida no intervalo de caracteres somente leitura, em um estilo especificado para seu BigInteger equivalente.

Parse(String)

Converte a representação da cadeia de caracteres de um número no BigInteger equivalente.

Parse(String, IFormatProvider)

Converte a representação de cadeia de caracteres de um número em um formato específico da cultura especificado em seu equivalente de BigInteger.

Parse(String, NumberStyles)

Converte a representação de cadeia de caracteres de um número em um estilo especificado em seu BigInteger equivalente.

Parse(String, NumberStyles, IFormatProvider)

Converte a representação de cadeia de caracteres de um número com um estilo especificado e um formato específico à cultura para seu BigInteger equivalente.

PopCount(BigInteger)

Calcula o número de bits definidos em um valor.

Pow(BigInteger, Int32)

Gera um valor BigInteger à potência de um valor especificado.

Remainder(BigInteger, BigInteger)

Executa a divisão do inteiro em dois valores BigInteger e retorna o restante.

RotateLeft(BigInteger, Int32)

Gira um valor deixado por um determinado valor.

RotateRight(BigInteger, Int32)

Gira um valor para a direita em um determinado valor.

Subtract(BigInteger, BigInteger)

Subtrai um valor BigInteger de outro e retorna o resultado.

ToByteArray()

Converte um valor de BigInteger em uma matriz de bytes.

ToByteArray(Boolean, Boolean)

Retorna o valor deste BigInteger como uma matriz de bytes usando o menor número possível de bytes. Se o valor é zero, retorna uma matriz de um byte cujo elemento é 0x00.

ToString()

Converte o valor numérico do objeto BigInteger atual na representação da cadeia de caracteres equivalente.

ToString(IFormatProvider)

Converte o valor numérico do objeto BigInteger atual em sua representação de cadeia de caracteres equivalente usando as informações especificadas de formatação específicas de cultura.

ToString(String)

Converte o valor numérico do objeto BigInteger atual para sua representação de cadeia de caracteres equivalente usando o formato especificado.

ToString(String, IFormatProvider)

Converte o valor numérico do objeto BigInteger atual em sua representação de cadeia de caracteres equivalente usando o formato especificado e as informações de formato específicas de cultura.

TrailingZeroCount(BigInteger)

Calcula o número de zeros à direita em um valor.

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

Formata essa instância de inteiro grande em um intervalo de caracteres.

TryParse(ReadOnlySpan<Char>, BigInteger)

Tenta converter a representação de um número contido no intervalo de caracteres somente leitura especificado em seu BigInteger equivalente e retorna um valor que indica se a conversão foi bem-sucedida.

TryParse(ReadOnlySpan<Char>, IFormatProvider, BigInteger)

Tenta analisar um intervalo de caracteres em um valor.

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

Tenta converter a representação de cadeia de caracteres de um número em seu BigInteger equivalente e retorna um valor que indica se a conversão foi bem-sucedida.

TryParse(String, BigInteger)

Tenta converter a representação de cadeia de caracteres de um número em seu BigInteger equivalente e retorna um valor que indica se a conversão foi bem-sucedida.

TryParse(String, IFormatProvider, BigInteger)

Tenta analisar uma cadeia de caracteres em um valor.

TryParse(String, NumberStyles, IFormatProvider, BigInteger)

Tenta converter a representação de cadeia de caracteres de um número em um estilo e formato específico à cultura especificados no equivalente BigInteger e retorna um valor que indica se a conversão foi bem-sucedida.

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

Copia o valor deste BigInteger como bytes de dois complementos little endian usando o menor número possível de bytes. Se o valor é zero, produz um byte cujo elemento é 0x00.

Operadores

Addition(BigInteger, BigInteger)

Adiciona os valores dos dois objetos BigInteger especificados.

BitwiseAnd(BigInteger, BigInteger)

Executa uma operação And bit a bit em dois valores BigInteger.

BitwiseOr(BigInteger, BigInteger)

Executa uma operação Or bit a bit em dois valores BigInteger.

Decrement(BigInteger)

Diminui um valor BigInteger em 1.

Division(BigInteger, BigInteger)

Divide um valor BigInteger especificado por outro valor BigInteger especificado usando a divisão de inteiros.

Equality(BigInteger, BigInteger)

Retorna um valor que indica se os valores de dois objetos BigInteger são iguais.

Equality(BigInteger, Int64)

Retorna um valor que indica se um valor BigInteger e um valor inteiro longo com sinal são iguais.

Equality(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger e um valor inteiro longo sem sinal são iguais.

Equality(Int64, BigInteger)

Retorna um valor que indica se um valor inteiro longo com sinal e um valor BigInteger são iguais.

Equality(UInt64, BigInteger)

Retorna um valor que indica se um valor inteiro longo sem sinal e um valor BigInteger são iguais.

ExclusiveOr(BigInteger, BigInteger)

Executa uma operação exclusiva Or bit a bit (XOr) em dois valores BigInteger.

Explicit(BigInteger to Byte)

Define uma conversão explícita de um objeto BigInteger em um valor de byte sem sinal.

Explicit(BigInteger to Char)

Converte explicitamente um inteiro grande em um Char valor.

Explicit(BigInteger to Decimal)

Define uma conversão explícita de um objeto BigInteger em um valor Decimal.

Explicit(BigInteger to Double)

Define uma conversão explícita de um objeto BigInteger em um valor Double.

Explicit(BigInteger to Half)

Converte explicitamente um inteiro grande em um Half valor.

Explicit(BigInteger to Int128)

Converte explicitamente um inteiro grande em um Int128 valor.

Explicit(BigInteger to Int16)

Define uma conversão explícita de um objeto BigInteger em um valor inteiro com sinal de 16 bits.

Explicit(BigInteger to Int32)

Define uma conversão explícita de um objeto BigInteger para um valor inteiro com sinal de 32 bits.

Explicit(BigInteger to Int64)

Define uma conversão explícita de um objeto BigInteger para um valor inteiro com sinal de 64 bits.

Explicit(BigInteger to IntPtr)

Converte explicitamente um inteiro grande em um IntPtr valor.

Explicit(BigInteger to SByte)

Define uma conversão explícita de um objeto BigInteger em um valor de 8 bits com sinal.

Esta API não compatível com CLS. A alternativa em conformidade é Int16.

Explicit(BigInteger to Single)

Define uma conversão explícita de um objeto BigInteger em um valor de ponto flutuante de precisão simples.

Explicit(BigInteger to UInt128)

Converte explicitamente um inteiro grande em um UInt128 valor.

Explicit(BigInteger to UInt16)

Define uma conversão explícita de um objeto BigInteger em um valor inteiro sem sinal de 16 bits.

Esta API não compatível com CLS. A alternativa em conformidade é Int32.

Explicit(BigInteger to UInt32)

Define uma conversão explícita de um objeto BigInteger em um valor inteiro sem sinal de 32 bits.

Esta API não compatível com CLS. A alternativa em conformidade é Int64.

Explicit(BigInteger to UInt64)

Define uma conversão explícita de um objeto BigInteger em um valor inteiro sem sinal de 64 bits.

Esta API não compatível com CLS. A alternativa em conformidade é Double.

Explicit(BigInteger to UIntPtr)

Converte explicitamente um inteiro grande em um UIntPtr valor.

Explicit(Complex to BigInteger)

Converte explicitamente um Complex valor em um inteiro grande.

Explicit(Decimal to BigInteger)

Define uma conversão explícita de um objeto Decimal em um valor BigInteger.

Explicit(Double to BigInteger)

Define uma conversão explícita de um valor Double para um valor BigInteger.

Explicit(Half to BigInteger)

Converte explicitamente um Half valor em um inteiro grande.

Explicit(Single to BigInteger)

Define uma conversão explícita de um valor Single para um valor BigInteger.

GreaterThan(BigInteger, BigInteger)

Retorna um valor que indica se um valor BigInteger é maior que outro valor BigInteger.

GreaterThan(BigInteger, Int64)

Retorna um valor que indica se um BigInteger é maior que um valor inteiro com sinal de 64 bits.

GreaterThan(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger é maior que um inteiro sem sinal de 64 bits.

GreaterThan(Int64, BigInteger)

Retorna um valor que indica se um inteiro com sinal de 64 bits é maior que um valor BigInteger.

GreaterThan(UInt64, BigInteger)

Retorna um valor que indica se um valor BigInteger é maior que um inteiro sem sinal de 64 bits.

GreaterThanOrEqual(BigInteger, BigInteger)

Retorna um valor que indica se um valor BigInteger é maior ou igual a outro valor BigInteger.

GreaterThanOrEqual(BigInteger, Int64)

Retorna um valor que indica se um valor de BigInteger é maior ou igual a um valor inteiro com sinal de 64 bits.

GreaterThanOrEqual(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger é maior ou igual a um valor inteiro sem sinal de 64 bits.

GreaterThanOrEqual(Int64, BigInteger)

Retorna um valor que indica se um inteiro com sinal de 64 bits é maior ou igual a um valor BigInteger.

GreaterThanOrEqual(UInt64, BigInteger)

Retorna um valor que indica se um inteiro sem sinal de 64 bits é maior ou igual a um valor BigInteger.

Implicit(Byte to BigInteger)

Define uma conversão implícita de um byte sem sinal em um valor BigInteger.

Implicit(Char to BigInteger)

Converte implicitamente um Char valor em um inteiro grande.

Implicit(Int128 to BigInteger)

Converte implicitamente um Int128 valor em um inteiro grande.

Implicit(Int16 to BigInteger)

Define uma conversão implícita de um inteiro com sinal de 16 bits em um valor BigInteger.

Implicit(Int32 to BigInteger)

Define uma conversão implícita de um inteiro com sinal de 32 bits em um valor BigInteger.

Implicit(Int64 to BigInteger)

Define uma conversão implícita de um inteiro com sinal de 64 bits em um valor BigInteger.

Implicit(IntPtr to BigInteger)

Converte implicitamente um IntPtr valor em um inteiro grande.

Implicit(SByte to BigInteger)

Define uma conversão implícita de um inteiro com sinal de 8 bits em um valor BigInteger.

Esta API não compatível com CLS. A alternativa em conformidade é BigInteger(Int32).

Implicit(UInt128 to BigInteger)

Converte implicitamente um UInt128 valor em um inteiro grande.

Implicit(UInt16 to BigInteger)

Define uma conversão implícita de um inteiro sem sinal de 16 bits em um valor BigInteger.

Esta API não compatível com CLS. A alternativa em conformidade é Implicit(Int32 to BigInteger).

Implicit(UInt32 to BigInteger)

Define uma conversão implícita de um inteiro sem sinal de 32 bits em um valor BigInteger.

Esta API não compatível com CLS. A alternativa em conformidade é Implicit(Int64 to BigInteger).

Implicit(UInt64 to BigInteger)

Define uma conversão implícita de um inteiro sem sinal de 64 bits em um valor BigInteger.

Esta API não compatível com CLS. A alternativa em conformidade é Double.

Implicit(UIntPtr to BigInteger)

Converte implicitamente um UIntPtr valor em um inteiro grande.

Increment(BigInteger)

Incrementa um valor BigInteger em 1.

Inequality(BigInteger, BigInteger)

Retorna um valor que indica se dois objetos BigInteger têm valores diferentes.

Inequality(BigInteger, Int64)

Retorna um valor que indica se um valor BigInteger e um inteiro com sinal de 64 bits não são iguais.

Inequality(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger e um inteiro sem sinal de 64 bits não são iguais.

Inequality(Int64, BigInteger)

Retorna um valor que indica se um inteiro com sinal de 64 bits e um valor BigInteger não são iguais.

Inequality(UInt64, BigInteger)

Retorna um valor que indica se um inteiro sem sinal de 64 bits e um valor BigInteger não são iguais.

LeftShift(BigInteger, Int32)

Desloca um valor BigInteger um número especificado de bits para a esquerda.

LessThan(BigInteger, BigInteger)

Retorna um valor que indica se um valor BigInteger é menor que outro valor BigInteger.

LessThan(BigInteger, Int64)

Retorna um valor que indica se um valor BigInteger é menor que um inteiro com sinal de 64 bits.

LessThan(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger é menor que um inteiro sem sinal de 64 bits.

LessThan(Int64, BigInteger)

Retorna um valor que indica se um inteiro com sinal de 64 bits é menor que um valor BigInteger.

LessThan(UInt64, BigInteger)

Retorna um valor que indica se um inteiro sem sinal de 64 bits é menor que um valor BigInteger.

LessThanOrEqual(BigInteger, BigInteger)

Retorna um valor que indica se um valor BigInteger é menor ou igual a outro valor BigInteger.

LessThanOrEqual(BigInteger, Int64)

Retorna um valor que indica se um valor BigInteger é menor ou igual a um inteiro com sinal de 64 bits.

LessThanOrEqual(BigInteger, UInt64)

Retorna um valor que indica se um valor BigInteger é menor ou igual a um inteiro sem sinal de 64 bits.

LessThanOrEqual(Int64, BigInteger)

Retorna um valor que indica se um inteiro com sinal de 64 bits é menor ou igual a um valor BigInteger.

LessThanOrEqual(UInt64, BigInteger)

Retorna um valor que indica se um inteiro sem sinal de 64 bits é menor ou igual a um valor BigInteger.

Modulus(BigInteger, BigInteger)

Retorna o resto que resulta da divisão com dois valores especificados BigInteger.

Multiply(BigInteger, BigInteger)

Multiplica dois valores BigInteger especificados.

OnesComplement(BigInteger)

Retorna o complemento bit a bit de um valor BigInteger.

RightShift(BigInteger, Int32)

Desloca um valor BigInteger um número especificado de bits para a direita.

Subtraction(BigInteger, BigInteger)

Subtrai um valor BigInteger de outro valor BigInteger.

UnaryNegation(BigInteger)

Nega um valor BigInteger especificado.

UnaryPlus(BigInteger)

Retorna o valor do operando BigInteger. (O sinal do operando permanece inalterado).

UnsignedRightShift(BigInteger, Int32)

Desloca um valor para a direita em um determinado valor.

Implantações explícitas de interface

IAdditiveIdentity<BigInteger,BigInteger>.AdditiveIdentity

Obtém a identidade aditiva do tipo atual.

IBinaryInteger<BigInteger>.GetByteCount()

Obtém o número de bytes que serão gravados como parte de TryWriteLittleEndian(Span<Byte>, Int32).

IBinaryInteger<BigInteger>.GetShortestBitLength()

Obtém o comprimento, em bits, da representação complementar dos dois mais curtos do valor atual.

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

Representa um inteiro com sinal arbitrariamente grande.

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

Representa um inteiro com sinal arbitrariamente grande.

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

Tenta gravar o valor atual, no formato big-endian, em um determinado intervalo.

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

Tenta gravar o valor atual, no formato little-endian, em um determinado intervalo.

IBinaryNumber<BigInteger>.AllBitsSet

Obtém uma instância do tipo binário no qual todos os bits são definidos.

IComparable.CompareTo(Object)

Compara esta instância a um objeto especificado e retorna um inteiro que indica se o valor desta instância é menor, igual ou maior que o valor do objeto especificado.

IMultiplicativeIdentity<BigInteger,BigInteger>.MultiplicativeIdentity

Obtém a identidade multiplicativa do tipo atual.

INumber<BigInteger>.MaxNumber(BigInteger, BigInteger)

Compara dois valores com a computação, que é maior e retorna o outro valor se uma entrada for NaN.

INumber<BigInteger>.MinNumber(BigInteger, BigInteger)

Compara dois valores com a computação que é menor e retorna o outro valor se uma entrada for NaN.

INumber<BigInteger>.Sign(BigInteger)

Calcula o sinal de um valor.

INumberBase<BigInteger>.IsCanonical(BigInteger)

Determina se um valor está em sua representação canônica.

INumberBase<BigInteger>.IsComplexNumber(BigInteger)

Determina se um valor representa um número complexo.

INumberBase<BigInteger>.IsFinite(BigInteger)

Determina se um valor é finito.

INumberBase<BigInteger>.IsImaginaryNumber(BigInteger)

Determina se um valor representa um número imaginário puro.

INumberBase<BigInteger>.IsInfinity(BigInteger)

Determina se um valor é infinito.

INumberBase<BigInteger>.IsInteger(BigInteger)

Determina se um valor representa um número integral.

INumberBase<BigInteger>.IsNaN(BigInteger)

Determina se um valor é NaN.

INumberBase<BigInteger>.IsNegativeInfinity(BigInteger)

Determina se um valor é infinito negativo.

INumberBase<BigInteger>.IsNormal(BigInteger)

Determina se um valor é normal.

INumberBase<BigInteger>.IsPositiveInfinity(BigInteger)

Determina se um valor é infinito positivo.

INumberBase<BigInteger>.IsRealNumber(BigInteger)

Determina se um valor representa um número real.

INumberBase<BigInteger>.IsSubnormal(BigInteger)

Determina se um valor é subnormal.

INumberBase<BigInteger>.IsZero(BigInteger)

Determina se um valor é zero.

INumberBase<BigInteger>.MaxMagnitudeNumber(BigInteger, BigInteger)

Compara dois valores com a computação que tem a magnitude maior e retorna o outro valor se uma entrada for NaN.

INumberBase<BigInteger>.MinMagnitudeNumber(BigInteger, BigInteger)

Compara dois valores com a computação que tem a magnitude menor e retorna o outro valor se uma entrada for NaN.

INumberBase<BigInteger>.Radix

Obtém a base para o tipo.

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

Representa um inteiro com sinal arbitrariamente grande.

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

Representa um inteiro com sinal arbitrariamente grande.

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

Representa um inteiro com sinal arbitrariamente grande.

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

Tenta converter uma instância do tipo atual em outro tipo, gerando uma exceção de estouro para todos os valores que ficam fora do intervalo representável do tipo atual.

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

Tenta converter uma instância do tipo atual em outro tipo, saturando todos os valores que ficam fora do intervalo representável do tipo atual.

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

Tenta converter uma instância do tipo atual em outro tipo, truncando todos os valores que estão fora do intervalo representável do tipo atual.

ISignedNumber<BigInteger>.NegativeOne

Obtém o valor -1 do tipo.

Aplica-se a