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 da API Complementar para BigInteger.

Construtores

BigInteger(Byte[])

Inicializa uma nova instância da estrutura BigInteger usando os valores em 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 da 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 somente leitura de bytes e, opcionalmente, indicando a codificação de assinatura e a ordem de bytes de endianidade.

BigInteger(Single)

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

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 está One.

IsPowerOfTwo

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

IsZero

Indica se o valor do objeto BigInteger atual está Zero.

MinusOne

Obtém um valor que representa o número negativo um (-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 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 de BigInteger e retorna um inteiro que indica se o primeiro valor é menor que, igual ou maior que o segundo valor.

CompareTo(BigInteger)

Compara essa instância a um segundo BigInteger e retorna um inteiro que indica se o valor dessa instância é menor que, 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 que, igual ou maior que o valor do inteiro de 64 bits assinado.

CompareTo(Object)

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

CompareTo(UInt64)

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

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 quaisquer valores que fiquem 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 estão 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 estão fora do intervalo representável do tipo atual.

Divide(BigInteger, BigInteger)

Divide um BigInteger valor por outro e retorna o resultado.

DivRem(BigInteger, BigInteger)

Calcula o quociente e o restante de dois valores.

DivRem(BigInteger, BigInteger, BigInteger)

Divide um BigInteger valor 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 de 64 bits com sinal 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 de 64 bits sem sinal têm o mesmo valor.

GetBitLength()

Obtém o número de bits necessários para a representação complementar de dois mais curtos 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 do 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 (ebase) 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 base 10 de um número especificado.

Log2(BigInteger)

Calcula o log2 de um valor.

Max(BigInteger, BigInteger)

Retorna o maior de 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 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 de 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 especificado, em um estilo especificado em seu BigInteger equivalente.

Parse(String)

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

Parse(String, IFormatProvider)

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

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 em um formato específico de cultura e estilo especificado em seu BigInteger equivalente.

PopCount(BigInteger)

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

Pow(BigInteger, Int32)

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

Remainder(BigInteger, BigInteger)

Executa a divisão 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 à direita em um determinado valor.

Subtract(BigInteger, BigInteger)

Subtrai um BigInteger valor de outro e retorna o resultado.

ToByteArray()

Converte um valor BigInteger em uma matriz de bytes.

ToByteArray(Boolean, Boolean)

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

ToString()

Converte o valor numérico do objeto BigInteger atual em sua representação de 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 de formatação específicas da cultura especificadas.

ToString(String)

Converte o valor numérico do objeto BigInteger atual em 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 da 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 formato específico de cultura e estilo especificado em seu BigInteger equivalente e retorna um valor que indica se a conversão foi bem-sucedida.

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

Copia o valor dessa BigInteger como bytes de complemento de dois e poucos finais, usando o menor número de bytes possível. Se o valor for zero, produzirá um byte cujo elemento é 0x00.

Operadores

Addition(BigInteger, BigInteger)

Adiciona os valores de dois objetos BigInteger especificados.

BitwiseAnd(BigInteger, BigInteger)

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

BitwiseOr(BigInteger, BigInteger)

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

Decrement(BigInteger)

Diminui um valor de BigInteger em 1.

Division(BigInteger, BigInteger)

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

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 assinado 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 assinado 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 de Or exclusiva (XOr) bit a bit em dois valores de BigInteger.

Explicit(BigInteger to Byte)

Define uma conversão explícita de um objeto BigInteger para um valor de bytes não assinado.

Explicit(BigInteger to Char)

Converte explicitamente um inteiro grande em um valor Char.

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

Explicit(BigInteger to Int128)

Converte explicitamente um inteiro grande em um valor Int128.

Explicit(BigInteger to Int16)

Define uma conversão explícita de um objeto BigInteger para 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 valor IntPtr.

Explicit(BigInteger to SByte)

Define uma conversão explícita de um objeto BigInteger para um valor assinado de 8 bits.

Essa API não é compatível com CLS. A alternativa compatível é Int16.

Explicit(BigInteger to Single)

Define uma conversão explícita de um objeto BigInteger para um valor de ponto flutuante de precisão única.

Explicit(BigInteger to UInt128)

Converte explicitamente um inteiro grande em um valor UInt128.

Explicit(BigInteger to UInt16)

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

Essa API não é compatível com CLS. A alternativa compatível é Int32.

Explicit(BigInteger to UInt32)

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

Essa API não é compatível com CLS. A alternativa compatível é Int64.

Explicit(BigInteger to UInt64)

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

Essa API não é compatível com CLS. A alternativa compatível é Double.

Explicit(BigInteger to UIntPtr)

Converte explicitamente um inteiro grande em um valor UIntPtr.

Explicit(Complex to BigInteger)

Converte explicitamente um valor Complex 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 valor Half 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 de 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 de BigInteger é maior ou igual a outro valor BigInteger.

GreaterThanOrEqual(BigInteger, Int64)

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

GreaterThanOrEqual(BigInteger, UInt64)

Retorna um valor que indica se um valor de 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 não assinado em um valor BigInteger.

Implicit(Char to BigInteger)

Converte implicitamente um valor Char em um inteiro grande.

Implicit(Int128 to BigInteger)

Converte implicitamente um valor Int128 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 valor IntPtr 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.

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

Implicit(UInt128 to BigInteger)

Converte implicitamente um valor UInt128 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.

Essa API não é compatível com CLS. A alternativa compatível é 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.

Essa API não é compatível com CLS. A alternativa compatível é 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.

Essa API não é compatível com CLS. A alternativa compatível é Double.

Implicit(UIntPtr to BigInteger)

Converte implicitamente um valor UIntPtr em um inteiro grande.

Increment(BigInteger)

Incrementa um valor de 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 de 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 de BigInteger um número especificado de bits para a esquerda.

LessThan(BigInteger, BigInteger)

Retorna um valor que indica se um valor de 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 de 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 de BigInteger é menor ou igual a outro valor BigInteger.

LessThanOrEqual(BigInteger, Int64)

Retorna um valor que indica se um valor de 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 restante resultante da divisão com dois valores BigInteger especificados.

Multiply(BigInteger, BigInteger)

Multiplica dois valores de 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 está inalterado.)

UnsignedRightShift(BigInteger, Int32)

Desloca um valor para a direita por 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 na qual todos os bits são definidos.

IComparable.CompareTo(Object)

Compara essa instância a um objeto especificado e retorna um inteiro que indica se o valor dessa instância é menor que, 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 é NaN.

INumber<BigInteger>.MinNumber(BigInteger, BigInteger)

Compara dois valores com a computação que é menor e retorna o outro valor se uma entrada é 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 é NaN.

INumberBase<BigInteger>.MinMagnitudeNumber(BigInteger, BigInteger)

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

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

Calcula uma estimativa de (left * right) + addend.

INumberBase<BigInteger>.Radix

Obtém o radix, ou 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 quaisquer valores que fiquem 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 estão 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 estejam fora do intervalo representável do tipo atual.

ISignedNumber<BigInteger>.NegativeOne

Obtém o valor -1 para o tipo.

Aplica-se a