Lire en anglais

Partager via


IBinaryFloatingPointIeee754<TSelf> Interface

Définition

Important

Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.

Définit un type à virgule flottante IEEE 754 représenté au format base 2.

C#
public interface IBinaryFloatingPointIeee754<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IBinaryNumber<TSelf>, System.Numerics.IBitwiseOperators<TSelf,TSelf,TSelf>, System.Numerics.IComparisonOperators<TSelf,TSelf,bool>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IExponentialFunctions<TSelf>, System.Numerics.IFloatingPoint<TSelf>, System.Numerics.IFloatingPointConstants<TSelf>, System.Numerics.IFloatingPointIeee754<TSelf>, System.Numerics.IHyperbolicFunctions<TSelf>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.ILogarithmicFunctions<TSelf>, System.Numerics.IModulusOperators<TSelf,TSelf,TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumber<TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.IPowerFunctions<TSelf>, System.Numerics.IRootFunctions<TSelf>, System.Numerics.ISignedNumber<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.ITrigonometricFunctions<TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IBinaryFloatingPointIeee754<TSelf>
C#
public interface IBinaryFloatingPointIeee754<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IBinaryNumber<TSelf>, System.Numerics.IBitwiseOperators<TSelf,TSelf,TSelf>, System.Numerics.IComparisonOperators<TSelf,TSelf,bool>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IExponentialFunctions<TSelf>, System.Numerics.IFloatingPoint<TSelf>, System.Numerics.IFloatingPointConstants<TSelf>, System.Numerics.IFloatingPointIeee754<TSelf>, System.Numerics.IHyperbolicFunctions<TSelf>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.ILogarithmicFunctions<TSelf>, System.Numerics.IModulusOperators<TSelf,TSelf,TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumber<TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.IPowerFunctions<TSelf>, System.Numerics.IRootFunctions<TSelf>, System.Numerics.ISignedNumber<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.ITrigonometricFunctions<TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IBinaryFloatingPointIeee754<TSelf>

Paramètres de type

TSelf

Type qui implémente l’interface.

Dérivé
Implémente

Méthodes

CompareTo(Object)

Compare l’instance actuelle à un autre objet du même type et retourne un entier qui indique si l’instance actuelle précède, suit ou se produit à la même position dans l’ordre de tri que l’autre objet.

(Hérité de IComparable)
CompareTo(T)

Compare l’instance actuelle à un autre objet du même type et retourne un entier qui indique si l’instance actuelle précède, suit ou se produit à la même position dans l’ordre de tri que l’autre objet.

(Hérité de IComparable<T>)
Equals(T)

Indique si l’objet actuel est égal à un autre objet du même type.

(Hérité de IEquatable<T>)
GetExponentByteCount()

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

(Hérité de IFloatingPoint<TSelf>)
GetExponentShortestBitLength()

Obtient la longueur, en bits, de la représentation complète des deux plus courtes de l’exposant actuel.

(Hérité de IFloatingPoint<TSelf>)
GetSignificandBitLength()

Obtient la longueur, en bits, du signe actuel.

(Hérité de IFloatingPoint<TSelf>)
GetSignificandByteCount()

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

(Hérité de IFloatingPoint<TSelf>)
ToString(String, IFormatProvider)

Met en forme la valeur de l’instance actuelle à l’aide du format spécifié.

(Hérité de IFormattable)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tente de mettre en forme la valeur de l’instance actuelle en UTF-8 dans l’étendue fournie d’octets.

(Hérité de IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tente de mettre en forme la valeur de l’instance actuelle dans l’étendue fournie de caractères.

(Hérité de ISpanFormattable)
TryWriteExponentBigEndian(Span<Byte>, Int32)

Tente d’écrire l’exposant actuel, au format big-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
TryWriteExponentLittleEndian(Span<Byte>, Int32)

Tente d’écrire l’exposant actuel, au format little-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
TryWriteSignificandBigEndian(Span<Byte>, Int32)

Tente d’écrire le significand actuel, au format big-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
TryWriteSignificandLittleEndian(Span<Byte>, Int32)

Tente d’écrire le significand actuel, au format little-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[], Int32)

Écrit l’exposant actuel, au format big-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[])

Écrit l’exposant actuel, au format big-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentBigEndian(Span<Byte>)

Écrit l’exposant actuel, au format big-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[], Int32)

Écrit l’exposant actuel, au format little-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[])

Écrit l’exposant actuel, au format little-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Span<Byte>)

Écrit l’exposant actuel, au format little-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[], Int32)

Écrit le significand actuel, au format big-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[])

Écrit le significand actuel, au format big-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Span<Byte>)

Écrit le significand actuel, au format big-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[], Int32)

Écrit le significand actuel, au format little-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[])

Écrit le significand actuel, au format little-endian, dans un tableau donné.

(Hérité de IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Span<Byte>)

Écrit le significand actuel, au format little-endian, dans une étendue donnée.

(Hérité de IFloatingPoint<TSelf>)

Implémentations d’interfaces explicites

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

Tente de mettre en forme la valeur de l’instance actuelle en UTF-8 dans l’étendue fournie d’octets.

(Hérité de INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

Analyse une étendue de caractères UTF-8 en une valeur.

(Hérité de INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

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

(Hérité de INumberBase<TSelf>)

S’applique à

Produit Versions
.NET 7, 8, 9, 10