Partage via


BigInteger Structure

Définition

Représente un entier signé arbitrairement grand.

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)
Héritage
BigInteger
Attributs
Implémente
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>

Remarques

Pour plus d’informations sur cette API, consultez remarques sur l’API supplémentaire pour BigInteger.

Constructeurs

BigInteger(Byte[])

Initialise une nouvelle instance de la structure BigInteger à l’aide des valeurs d’un tableau d’octets.

BigInteger(Decimal)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur Decimal.

BigInteger(Double)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur à virgule flottante double précision.

BigInteger(Int32)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur entière signée 32 bits.

BigInteger(Int64)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur entière signée 64 bits.

BigInteger(ReadOnlySpan<Byte>, Boolean, Boolean)

Initialise une nouvelle instance de la structure BigInteger à l’aide des valeurs d’une étendue en lecture seule d’octets, et indique éventuellement l’encodage de signature et l’ordre d’octet d’octet endianness.

BigInteger(Single)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur à virgule flottante simple précision.

BigInteger(UInt32)

Initialise une nouvelle instance de la structure BigInteger à l’aide d’une valeur entière 32 bits non signée.

BigInteger(UInt64)

Initialise une nouvelle instance de la structure BigInteger avec une valeur entière 64 bits non signée.

Propriétés

IsEven

Indique si la valeur de l’objet BigInteger actuel est un nombre pair.

IsOne

Indique si la valeur de l’objet BigInteger actuel est One.

IsPowerOfTwo

Indique si la valeur de l’objet BigInteger actuel est une puissance de deux.

IsZero

Indique si la valeur de l’objet BigInteger actuel est Zero.

MinusOne

Obtient une valeur qui représente le nombre négatif (-1).

One

Obtient une valeur qui représente le numéro 1 (1).

Sign

Obtient un nombre qui indique le signe (négatif, positif ou zéro) de l’objet BigInteger actuel.

Zero

Obtient une valeur qui représente le nombre 0 (zéro).

Méthodes

Abs(BigInteger)

Obtient la valeur absolue d’un objet BigInteger.

Add(BigInteger, BigInteger)

Ajoute deux valeurs BigInteger et retourne le résultat.

Clamp(BigInteger, BigInteger, BigInteger)

Limite une valeur à une valeur minimale et maximale inclusive.

Compare(BigInteger, BigInteger)

Compare deux valeurs BigInteger et retourne un entier qui indique si la première valeur est inférieure, égale ou supérieure à la deuxième valeur.

CompareTo(BigInteger)

Compare cette instance à une deuxième BigInteger et retourne un entier qui indique si la valeur de cette instance est inférieure, égale ou supérieure à la valeur de l’objet spécifié.

CompareTo(Int64)

Compare cette instance à un entier 64 bits signé et retourne un entier qui indique si la valeur de cette instance est inférieure, égale ou supérieure à la valeur de l’entier 64 bits signé.

CompareTo(Object)

Compare cette instance à un objet spécifié et retourne un entier qui indique si la valeur de cette instance est inférieure, égale ou supérieure à la valeur de l’objet spécifié.

CompareTo(UInt64)

Compare cette instance à un entier 64 bits non signé et retourne un entier qui indique si la valeur de cette instance est inférieure, égale ou supérieure à la valeur de l’entier 64 bits non signé.

CopySign(BigInteger, BigInteger)

Copie le signe d’une valeur au signe d’une autre valeur.

CreateChecked<TOther>(TOther)

Crée une instance du type actuel à partir d’une valeur, lève une exception de dépassement de capacité pour toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

CreateSaturating<TOther>(TOther)

Crée une instance du type actuel à partir d’une valeur, en saturant toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

CreateTruncating<TOther>(TOther)

Crée une instance du type actuel à partir d’une valeur, tronqué toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

Divide(BigInteger, BigInteger)

Divise une valeur BigInteger par une autre et retourne le résultat.

DivRem(BigInteger, BigInteger)

Calcule le quotient et le reste de deux valeurs.

DivRem(BigInteger, BigInteger, BigInteger)

Divise une valeur BigInteger par une autre, retourne le résultat et retourne le reste dans un paramètre de sortie.

Equals(BigInteger)

Retourne une valeur qui indique si l’instance actuelle et un objet BigInteger spécifié ont la même valeur.

Equals(Int64)

Retourne une valeur qui indique si l’instance actuelle et un entier 64 bits signé ont la même valeur.

Equals(Object)

Retourne une valeur qui indique si l’instance actuelle et un objet spécifié ont la même valeur.

Equals(UInt64)

Retourne une valeur qui indique si l’instance actuelle et un entier 64 bits non signé ont la même valeur.

GetBitLength()

Obtient le nombre de bits requis pour la représentation complète des deux plus courtes de l’instance actuelle sans le bit de signe.

GetByteCount(Boolean)

Obtient le nombre d’octets qui seront générés par ToByteArray(Boolean, Boolean) et TryWriteBytes(Span<Byte>, Int32, Boolean, Boolean).

GetHashCode()

Retourne le code de hachage de l’objet BigInteger actuel.

GreatestCommonDivisor(BigInteger, BigInteger)

Recherche le plus grand diviseur commun de deux valeurs BigInteger.

IsEvenInteger(BigInteger)

Détermine si une valeur représente un nombre intégral pair.

IsNegative(BigInteger)

Détermine si une valeur est négative.

IsOddInteger(BigInteger)

Détermine si une valeur représente un nombre intégral impair.

IsPositive(BigInteger)

Détermine si une valeur est positive.

IsPow2(BigInteger)

Détermine si une valeur est une puissance de deux.

LeadingZeroCount(BigInteger)

Calcule le nombre de zéros non significatifs dans une valeur.

Log(BigInteger)

Retourne le logarithme naturel (base e) d’un nombre spécifié.

Log(BigInteger, Double)

Retourne le logarithme d’un nombre spécifié dans une base spécifiée.

Log10(BigInteger)

Retourne le logarithme de base 10 d’un nombre spécifié.

Log2(BigInteger)

Calcule le journal2 d’une valeur.

Max(BigInteger, BigInteger)

Retourne la plus grande de deux valeurs BigInteger.

MaxMagnitude(BigInteger, BigInteger)

Compare deux valeurs au calcul, ce qui est supérieur.

Min(BigInteger, BigInteger)

Retourne la plus petite de deux valeurs BigInteger.

MinMagnitude(BigInteger, BigInteger)

Compare deux valeurs au calcul, ce qui est inférieur.

ModPow(BigInteger, BigInteger, BigInteger)

Effectue une division de module sur un nombre élevé à la puissance d’un autre nombre.

Multiply(BigInteger, BigInteger)

Retourne le produit de deux valeurs BigInteger.

Negate(BigInteger)

Annule une valeur BigInteger spécifiée.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Analyse une étendue de caractères en une valeur.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Convertit la représentation d’un nombre, contenue dans l’étendue de caractères en lecture seule spécifiée, dans un style spécifié en son équivalent BigInteger.

Parse(String)

Convertit la représentation sous forme de chaîne d’un nombre en son équivalent BigInteger.

Parse(String, IFormatProvider)

Convertit la représentation sous forme de chaîne d’un nombre dans un format spécifique à la culture spécifié en son équivalent BigInteger.

Parse(String, NumberStyles)

Convertit la représentation sous forme de chaîne d’un nombre dans un style spécifié en son équivalent BigInteger.

Parse(String, NumberStyles, IFormatProvider)

Convertit la représentation sous forme de chaîne d’un nombre dans un style et un format spécifique à la culture spécifiés en son équivalent BigInteger.

PopCount(BigInteger)

Calcule le nombre de bits définis dans une valeur.

Pow(BigInteger, Int32)

Déclenche une valeur BigInteger à la puissance d’une valeur spécifiée.

Remainder(BigInteger, BigInteger)

Effectue une division entière sur deux valeurs BigInteger et retourne le reste.

RotateLeft(BigInteger, Int32)

Fait pivoter une valeur à gauche d’une quantité donnée.

RotateRight(BigInteger, Int32)

Fait pivoter une valeur à droite d’un montant donné.

Subtract(BigInteger, BigInteger)

Soustrait une valeur BigInteger d’une autre et retourne le résultat.

ToByteArray()

Convertit une valeur BigInteger en tableau d’octets.

ToByteArray(Boolean, Boolean)

Retourne la valeur de cette BigInteger sous forme de tableau d’octets en utilisant le nombre le plus petit d’octets possible. Si la valeur est égale à zéro, retourne un tableau d’un octet dont l’élément est 0x00.

ToString()

Convertit la valeur numérique de l’objet BigInteger actuel en sa représentation sous forme de chaîne équivalente.

ToString(IFormatProvider)

Convertit la valeur numérique de l’objet BigInteger actuel en sa représentation sous forme de chaîne équivalente à l’aide des informations de mise en forme spécifiques à la culture spécifiées.

ToString(String)

Convertit la valeur numérique de l’objet BigInteger actuel en sa représentation sous forme de chaîne équivalente à l’aide du format spécifié.

ToString(String, IFormatProvider)

Convertit la valeur numérique de l’objet BigInteger actuel en sa représentation sous forme de chaîne équivalente à l’aide des informations de format spécifiques à la culture et au format spécifiés.

TrailingZeroCount(BigInteger)

Calcule le nombre de zéros de fin dans une valeur.

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

Met en forme cette instance d’entier volumineux en une étendue de caractères.

TryParse(ReadOnlySpan<Char>, BigInteger)

Tente de convertir la représentation d’un nombre contenu dans l’étendue de caractères en lecture seule spécifiée, en son BigInteger équivalent et retourne une valeur qui indique si la conversion a réussi.

TryParse(ReadOnlySpan<Char>, IFormatProvider, BigInteger)

Tente d’analyser une étendue de caractères en une valeur.

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

Tente de convertir la représentation sous forme de chaîne d’un nombre en son équivalent BigInteger et retourne une valeur qui indique si la conversion a réussi.

TryParse(String, BigInteger)

Tente de convertir la représentation sous forme de chaîne d’un nombre en son équivalent BigInteger et retourne une valeur qui indique si la conversion a réussi.

TryParse(String, IFormatProvider, BigInteger)

Tente d’analyser une chaîne en une valeur.

TryParse(String, NumberStyles, IFormatProvider, BigInteger)

Tente de convertir la représentation sous forme de chaîne d’un nombre dans un style et un format spécifique à la culture spécifiés en son équivalent BigInteger et retourne une valeur qui indique si la conversion a réussi.

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

Copie la valeur de cette BigInteger le plus petit-endian deux octets de complément, en utilisant le plus petit nombre d’octets possible. Si la valeur est égale à zéro, génère un octet dont l’élément est 0x00.

Opérateurs

Addition(BigInteger, BigInteger)

Ajoute les valeurs de deux objets BigInteger spécifiés.

BitwiseAnd(BigInteger, BigInteger)

Effectue une opération de And au niveau du bit sur deux valeurs BigInteger.

BitwiseOr(BigInteger, BigInteger)

Effectue une opération de Or au niveau du bit sur deux valeurs BigInteger.

Decrement(BigInteger)

Décrémente une valeur BigInteger par 1.

Division(BigInteger, BigInteger)

Divise une valeur BigInteger spécifiée par une autre valeur BigInteger spécifiée à l’aide de la division entière.

Equality(BigInteger, BigInteger)

Retourne une valeur qui indique si les valeurs de deux objets BigInteger sont égales.

Equality(BigInteger, Int64)

Retourne une valeur qui indique si une valeur BigInteger et une valeur entière longue signée sont égales.

Equality(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger et une valeur entière longue non signée sont égales.

Equality(Int64, BigInteger)

Retourne une valeur qui indique si une valeur entière longue signée et une valeur BigInteger sont égales.

Equality(UInt64, BigInteger)

Retourne une valeur qui indique si une valeur entière longue non signée et une valeur BigInteger sont égales.

ExclusiveOr(BigInteger, BigInteger)

Effectue une opération Or exclusive au niveau du bit (XOr) sur deux valeurs BigInteger.

Explicit(BigInteger to Byte)

Définit une conversion explicite d’un objet BigInteger en valeur d’octet non signée.

Explicit(BigInteger to Char)

Convertit explicitement un entier volumineux en valeur Char.

Explicit(BigInteger to Decimal)

Définit une conversion explicite d’un objet BigInteger en valeur Decimal.

Explicit(BigInteger to Double)

Définit une conversion explicite d’un objet BigInteger en valeur Double.

Explicit(BigInteger to Half)

Convertit explicitement un entier volumineux en valeur Half.

Explicit(BigInteger to Int128)

Convertit explicitement un entier volumineux en valeur Int128.

Explicit(BigInteger to Int16)

Définit une conversion explicite d’un objet BigInteger en valeur entière signée 16 bits.

Explicit(BigInteger to Int32)

Définit une conversion explicite d’un objet BigInteger en valeur entière signée 32 bits.

Explicit(BigInteger to Int64)

Définit une conversion explicite d’un objet BigInteger en valeur entière signée 64 bits.

Explicit(BigInteger to IntPtr)

Convertit explicitement un entier volumineux en valeur IntPtr.

Explicit(BigInteger to SByte)

Définit une conversion explicite d’un objet BigInteger en valeur 8 bits signée.

Cette API n’est pas conforme CLS. L’alternative conforme est Int16.

Explicit(BigInteger to Single)

Définit une conversion explicite d’un objet BigInteger en valeur à virgule flottante simple précision.

Explicit(BigInteger to UInt128)

Convertit explicitement un entier volumineux en valeur UInt128.

Explicit(BigInteger to UInt16)

Définit une conversion explicite d’un objet BigInteger en une valeur entière 16 bits non signée.

Cette API n’est pas conforme CLS. L’alternative conforme est Int32.

Explicit(BigInteger to UInt32)

Définit une conversion explicite d’un objet BigInteger en une valeur entière 32 bits non signée.

Cette API n’est pas conforme CLS. L’alternative conforme est Int64.

Explicit(BigInteger to UInt64)

Définit une conversion explicite d’un objet BigInteger en une valeur entière 64 bits non signée.

Cette API n’est pas conforme CLS. L’alternative conforme est Double.

Explicit(BigInteger to UIntPtr)

Convertit explicitement un entier volumineux en valeur UIntPtr.

Explicit(Complex to BigInteger)

Convertit explicitement une valeur Complex en entier volumineux.

Explicit(Decimal to BigInteger)

Définit une conversion explicite d’un objet Decimal en valeur BigInteger.

Explicit(Double to BigInteger)

Définit une conversion explicite d’une valeur Double en valeur BigInteger.

Explicit(Half to BigInteger)

Convertit explicitement une valeur Half en entier volumineux.

Explicit(Single to BigInteger)

Définit une conversion explicite d’une valeur Single en valeur BigInteger.

GreaterThan(BigInteger, BigInteger)

Retourne une valeur qui indique si une valeur BigInteger est supérieure à une autre valeur BigInteger.

GreaterThan(BigInteger, Int64)

Retourne une valeur qui indique si un BigInteger est supérieur à une valeur entière signée 64 bits.

GreaterThan(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger est supérieure à un entier non signé 64 bits.

GreaterThan(Int64, BigInteger)

Retourne une valeur qui indique si un entier signé 64 bits est supérieur à une valeur BigInteger.

GreaterThan(UInt64, BigInteger)

Retourne une valeur qui indique si une valeur BigInteger est supérieure à un entier non signé 64 bits.

GreaterThanOrEqual(BigInteger, BigInteger)

Retourne une valeur qui indique si une valeur BigInteger est supérieure ou égale à une autre valeur BigInteger.

GreaterThanOrEqual(BigInteger, Int64)

Retourne une valeur qui indique si une valeur BigInteger est supérieure ou égale à une valeur entière signée 64 bits.

GreaterThanOrEqual(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger est supérieure ou égale à une valeur entière non signée 64 bits.

GreaterThanOrEqual(Int64, BigInteger)

Retourne une valeur qui indique si un entier signé 64 bits est supérieur ou égal à une valeur BigInteger.

GreaterThanOrEqual(UInt64, BigInteger)

Retourne une valeur qui indique si un entier non signé 64 bits est supérieur ou égal à une valeur BigInteger.

Implicit(Byte to BigInteger)

Définit une conversion implicite d’un octet non signé en valeur BigInteger.

Implicit(Char to BigInteger)

Convertit implicitement une valeur Char en entier volumineux.

Implicit(Int128 to BigInteger)

Convertit implicitement une valeur Int128 en entier volumineux.

Implicit(Int16 to BigInteger)

Définit une conversion implicite d’un entier 16 bits signé en valeur BigInteger.

Implicit(Int32 to BigInteger)

Définit une conversion implicite d’un entier 32 bits signé en valeur BigInteger.

Implicit(Int64 to BigInteger)

Définit une conversion implicite d’un entier 64 bits signé en valeur BigInteger.

Implicit(IntPtr to BigInteger)

Convertit implicitement une valeur IntPtr en entier volumineux.

Implicit(SByte to BigInteger)

Définit une conversion implicite d’un entier signé 8 bits en valeur BigInteger.

Cette API n’est pas conforme CLS. L’alternative conforme est BigInteger(Int32).

Implicit(UInt128 to BigInteger)

Convertit implicitement une valeur UInt128 en entier volumineux.

Implicit(UInt16 to BigInteger)

Définit une conversion implicite d’un entier non signé 16 bits en valeur BigInteger.

Cette API n’est pas conforme CLS. L’alternative conforme est Implicit(Int32 to BigInteger).

Implicit(UInt32 to BigInteger)

Définit une conversion implicite d’un entier non signé 32 bits en valeur BigInteger.

Cette API n’est pas conforme CLS. L’alternative conforme est Implicit(Int64 to BigInteger).

Implicit(UInt64 to BigInteger)

Définit une conversion implicite d’un entier non signé 64 bits en valeur BigInteger.

Cette API n’est pas conforme CLS. L’alternative conforme est Double.

Implicit(UIntPtr to BigInteger)

Convertit implicitement une valeur UIntPtr en entier volumineux.

Increment(BigInteger)

Incrémente une valeur BigInteger de 1.

Inequality(BigInteger, BigInteger)

Retourne une valeur qui indique si deux objets BigInteger ont des valeurs différentes.

Inequality(BigInteger, Int64)

Retourne une valeur qui indique si une valeur BigInteger et un entier signé 64 bits ne sont pas égaux.

Inequality(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger et un entier non signé 64 bits ne sont pas égaux.

Inequality(Int64, BigInteger)

Retourne une valeur qui indique si un entier signé 64 bits et une valeur BigInteger ne sont pas égaux.

Inequality(UInt64, BigInteger)

Retourne une valeur qui indique si un entier non signé 64 bits et une valeur BigInteger ne sont pas égales.

LeftShift(BigInteger, Int32)

Déplace une valeur BigInteger un nombre spécifié de bits vers la gauche.

LessThan(BigInteger, BigInteger)

Retourne une valeur qui indique si une valeur BigInteger est inférieure à une autre valeur BigInteger.

LessThan(BigInteger, Int64)

Retourne une valeur qui indique si une valeur BigInteger est inférieure à un entier signé 64 bits.

LessThan(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger est inférieure à un entier non signé 64 bits.

LessThan(Int64, BigInteger)

Retourne une valeur qui indique si un entier signé 64 bits est inférieur à une valeur BigInteger.

LessThan(UInt64, BigInteger)

Retourne une valeur qui indique si un entier non signé 64 bits est inférieur à une valeur BigInteger.

LessThanOrEqual(BigInteger, BigInteger)

Retourne une valeur qui indique si une valeur BigInteger est inférieure ou égale à une autre valeur BigInteger.

LessThanOrEqual(BigInteger, Int64)

Retourne une valeur qui indique si une valeur BigInteger est inférieure ou égale à un entier signé 64 bits.

LessThanOrEqual(BigInteger, UInt64)

Retourne une valeur qui indique si une valeur BigInteger est inférieure ou égale à un entier non signé 64 bits.

LessThanOrEqual(Int64, BigInteger)

Retourne une valeur qui indique si un entier signé 64 bits est inférieur ou égal à une valeur BigInteger.

LessThanOrEqual(UInt64, BigInteger)

Retourne une valeur qui indique si un entier non signé 64 bits est inférieur ou égal à une valeur BigInteger.

Modulus(BigInteger, BigInteger)

Retourne le reste qui résulte de la division avec deux valeurs BigInteger spécifiées.

Multiply(BigInteger, BigInteger)

Multiplie deux valeurs de BigInteger spécifiées.

OnesComplement(BigInteger)

Retourne le complément du bit d’une valeur BigInteger.

RightShift(BigInteger, Int32)

Déplace une valeur BigInteger un nombre spécifié de bits à droite.

Subtraction(BigInteger, BigInteger)

Soustrait une valeur BigInteger d’une autre valeur BigInteger.

UnaryNegation(BigInteger)

Annule une valeur BigInteger spécifiée.

UnaryPlus(BigInteger)

Retourne la valeur de l’opérande BigInteger. (Le signe de l’opérande est inchangé.)

UnsignedRightShift(BigInteger, Int32)

Déplace une valeur à droite d’un montant donné.

Implémentations d’interfaces explicites

IAdditiveIdentity<BigInteger,BigInteger>.AdditiveIdentity

Obtient l’identité additive du type actuel.

IBinaryInteger<BigInteger>.GetByteCount()

Obtient le nombre d’octets qui seront écrits dans le cadre de TryWriteLittleEndian(Span<Byte>, Int32).

IBinaryInteger<BigInteger>.GetShortestBitLength()

Obtient la longueur, en bits, de la représentation complète des deux plus courtes de la valeur actuelle.

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

Représente un entier signé arbitrairement grand.

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

Représente un entier signé arbitrairement grand.

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

Tente d’écrire la valeur actuelle, au format big-endian, dans une étendue donnée.

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

Tente d’écrire la valeur actuelle, au format little-endian, dans une étendue donnée.

IBinaryNumber<BigInteger>.AllBitsSet

Obtient une instance du type binaire dans laquelle tous les bits sont définis.

IComparable.CompareTo(Object)

Compare cette instance à un objet spécifié et retourne un entier qui indique si la valeur de cette instance est inférieure, égale ou supérieure à la valeur de l’objet spécifié.

IMultiplicativeIdentity<BigInteger,BigInteger>.MultiplicativeIdentity

Obtient l’identité multiplicative du type actuel.

INumber<BigInteger>.MaxNumber(BigInteger, BigInteger)

Compare deux valeurs au calcul qui est supérieure et retourne l’autre valeur si une entrée est NaN.

INumber<BigInteger>.MinNumber(BigInteger, BigInteger)

Compare deux valeurs au calcul, ce qui est inférieur et retourne l’autre valeur si une entrée est NaN.

INumber<BigInteger>.Sign(BigInteger)

Calcule le signe d’une valeur.

INumberBase<BigInteger>.IsCanonical(BigInteger)

Détermine si une valeur se trouve dans sa représentation canonique.

INumberBase<BigInteger>.IsComplexNumber(BigInteger)

Détermine si une valeur représente un nombre complexe.

INumberBase<BigInteger>.IsFinite(BigInteger)

Détermine si une valeur est finie.

INumberBase<BigInteger>.IsImaginaryNumber(BigInteger)

Détermine si une valeur représente un nombre imaginaire pur.

INumberBase<BigInteger>.IsInfinity(BigInteger)

Détermine si une valeur est infinie.

INumberBase<BigInteger>.IsInteger(BigInteger)

Détermine si une valeur représente un nombre intégral.

INumberBase<BigInteger>.IsNaN(BigInteger)

Détermine si une valeur est NaN.

INumberBase<BigInteger>.IsNegativeInfinity(BigInteger)

Détermine si une valeur est l’infini négatif.

INumberBase<BigInteger>.IsNormal(BigInteger)

Détermine si une valeur est normale.

INumberBase<BigInteger>.IsPositiveInfinity(BigInteger)

Détermine si une valeur est l’infini positif.

INumberBase<BigInteger>.IsRealNumber(BigInteger)

Détermine si une valeur représente un nombre réel.

INumberBase<BigInteger>.IsSubnormal(BigInteger)

Détermine si une valeur est subnormale.

INumberBase<BigInteger>.IsZero(BigInteger)

Détermine si une valeur est égale à zéro.

INumberBase<BigInteger>.MaxMagnitudeNumber(BigInteger, BigInteger)

Compare deux valeurs au calcul qui a la plus grande magnitude et retourne l’autre valeur si une entrée est NaN.

INumberBase<BigInteger>.MinMagnitudeNumber(BigInteger, BigInteger)

Compare deux valeurs au calcul dont la magnitude est inférieure et retourne l’autre valeur si une entrée est NaN.

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

Calcule une estimation de (left * right) + addend.

INumberBase<BigInteger>.Radix

Obtient le radix, ou la base, pour le type.

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

Représente un entier signé arbitrairement grand.

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

Représente un entier signé arbitrairement grand.

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

Représente un entier signé arbitrairement grand.

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

Tente de convertir une instance du type actuel en un autre type, lève une exception de dépassement de capacité pour toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

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

Tente de convertir une instance du type actuel en un autre type, en saturant toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

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

Tente de convertir une instance du type actuel en un autre type, en tronqué toutes les valeurs qui se trouvent en dehors de la plage représentée du type actuel.

ISignedNumber<BigInteger>.NegativeOne

Obtient la valeur -1 pour le type.

S’applique à