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

Comentários

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

Construtores

Nome Description
BigInteger(Byte[])

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

BigInteger(Decimal)

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

BigInteger(Double)

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

BigInteger(Int32)

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

BigInteger(Int64)

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

BigInteger(ReadOnlySpan<Byte>, Boolean, Boolean)

Inicializa uma nova instância da BigInteger estrutura 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 BigInteger estrutura usando um valor de ponto flutuante de precisão única.

BigInteger(UInt32)

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

BigInteger(UInt64)

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

Propriedades

Nome Description
IsEven

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

IsOne

Indica se o valor do objeto atual BigInteger é One.

IsPowerOfTwo

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

IsZero

Indica se o valor do objeto atual BigInteger é 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 atual BigInteger .

Zero

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

Métodos

Nome Description
Abs(BigInteger)

Obtém o valor absoluto de um BigInteger objeto.

Add(BigInteger, BigInteger)

Adiciona dois BigInteger valores 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 BigInteger valores 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, BigInteger)

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

DivRem(BigInteger, BigInteger)

Calcula o quociente e o restante de dois valores.

Equals(BigInteger)

Retorna um valor que indica se a instância atual e um objeto especificado BigInteger 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 atual BigInteger .

GreatestCommonDivisor(BigInteger, BigInteger)

Localiza o maior divisor comum de dois BigInteger valores.

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, Double)

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

Log(BigInteger)

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

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

MaxMagnitude(BigInteger, BigInteger)

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

Min(BigInteger, BigInteger)

Retorna o menor de dois BigInteger valores.

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

Negate(BigInteger)

Nega um valor especificado BigInteger .

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Representa um inteiro com sinal arbitrariamente grande.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Representa um inteiro com sinal arbitrariamente grande.

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, 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, 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.

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)

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

PopCount(BigInteger)

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

Pow(BigInteger, Int32)

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

Remainder(BigInteger, BigInteger)

Executa a divisão inteiro em dois BigInteger valores 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 BigInteger valor em uma matriz de bytes.

ToByteArray(Boolean, Boolean)

Retorna o valor disso 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, 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.

ToString(String)

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

TrailingZeroCount(BigInteger)

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

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

Representa um inteiro com sinal arbitrariamente grande.

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

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

TryParse(ReadOnlySpan<Byte>, BigInteger)

Representa um inteiro com sinal arbitrariamente grande.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, BigInteger)

Representa um inteiro com sinal arbitrariamente grande.

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

Representa um inteiro com sinal arbitrariamente grande.

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 disso BigInteger como bytes de complemento de dois-endianos, usando o menor número de bytes possível. Se o valor for zero, produzirá um byte cujo elemento é 0x00.

Operadores

Nome Description
Addition(BigInteger, BigInteger)

Adiciona os valores de dois objetos especificados BigInteger .

BitwiseAnd(BigInteger, BigInteger)

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

BitwiseOr(BigInteger, BigInteger)

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

Decrement(BigInteger)

Diminui um BigInteger valor em 1.

Division(BigInteger, BigInteger)

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

Equality(BigInteger, BigInteger)

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

Equality(BigInteger, Int64)

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

Equality(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor 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 BigInteger valor são iguais.

Equality(UInt64, BigInteger)

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

ExclusiveOr(BigInteger, BigInteger)

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

Explicit(BFloat16 to BigInteger)

Representa um inteiro com sinal arbitrariamente grande.

Explicit(BigInteger to BFloat16)

Representa um inteiro com sinal arbitrariamente grande.

Explicit(BigInteger to Byte)

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

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 BigInteger objeto em um Decimal valor.

Explicit(BigInteger to Double)

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

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 BigInteger objeto em um valor inteiro com sinal de 16 bits.

Explicit(BigInteger to Int32)

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

Explicit(BigInteger to Int64)

Define uma conversão explícita de um BigInteger objeto em 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 BigInteger objeto em um valor assinado de 8 bits.

Esta API não está em conformidade com CLS. A alternativa em conformidade é Int16.

Explicit(BigInteger to Single)

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

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 BigInteger objeto em um valor inteiro de 16 bits sem sinal.

Esta API não está em conformidade com CLS. A alternativa em conformidade é Int32.

Explicit(BigInteger to UInt32)

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

Esta API não está em conformidade com CLS. A alternativa em conformidade é Int64.

Explicit(BigInteger to UInt64)

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

Esta API não está em conformidade 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 Decimal objeto em um BigInteger valor.

Explicit(Double to BigInteger)

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

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 Single valor em um BigInteger valor.

GreaterThan(BigInteger, BigInteger)

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

GreaterThan(BigInteger, Int64)

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

GreaterThan(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor é 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 BigInteger valor.

GreaterThan(UInt64, BigInteger)

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

GreaterThanOrEqual(BigInteger, BigInteger)

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

GreaterThanOrEqual(BigInteger, Int64)

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

GreaterThanOrEqual(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor é 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 BigInteger valor.

GreaterThanOrEqual(UInt64, BigInteger)

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

Implicit(Byte to BigInteger)

Define uma conversão implícita de um byte não assinado em um BigInteger valor.

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 de 16 bits com sinal em um BigInteger valor.

Implicit(Int32 to BigInteger)

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

Implicit(Int64 to BigInteger)

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

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

Esta API não está em conformidade 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 BigInteger valor.

Esta API não está em conformidade 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 BigInteger valor.

Esta API não está em conformidade 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 BigInteger valor.

Esta API não está em conformidade com CLS. A alternativa em conformidade é Double.

Implicit(UIntPtr to BigInteger)

Converte implicitamente um UIntPtr valor em um inteiro grande.

Increment(BigInteger)

Incrementa um BigInteger valor em 1.

Inequality(BigInteger, BigInteger)

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

Inequality(BigInteger, Int64)

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

Inequality(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor 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 BigInteger valor não são iguais.

Inequality(UInt64, BigInteger)

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

LeftShift(BigInteger, Int32)

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

LessThan(BigInteger, BigInteger)

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

LessThan(BigInteger, Int64)

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

LessThan(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor é 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 BigInteger valor.

LessThan(UInt64, BigInteger)

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

LessThanOrEqual(BigInteger, BigInteger)

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

LessThanOrEqual(BigInteger, Int64)

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

LessThanOrEqual(BigInteger, UInt64)

Retorna um valor que indica se um BigInteger valor é 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 BigInteger valor.

LessThanOrEqual(UInt64, BigInteger)

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

Modulus(BigInteger, BigInteger)

Retorna o restante resultante da divisão com dois valores especificados BigInteger .

Multiply(BigInteger, BigInteger)

Multiplica dois valores especificados BigInteger .

OnesComplement(BigInteger)

Retorna o complemento bit a bit de um BigInteger valor.

RightShift(BigInteger, Int32)

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

Subtraction(BigInteger, BigInteger)

Subtrai um BigInteger valor de outro BigInteger valor.

UnaryNegation(BigInteger)

Nega um valor BigInteger especificado.

UnaryPlus(BigInteger)

Retorna o valor do BigInteger operando. (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

Nome Description
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>.Log10(BigInteger)

Representa um inteiro com sinal arbitrariamente grande.

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 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 menor magnitude e retorna o outro valor se uma entrada for NaN.

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

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

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 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 do tipo.

Aplica-se a