IFloatingPointConstants<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 la prise en charge des constantes à virgule flottante.
generic <typename TSelf>
where TSelf : IFloatingPointConstants<TSelf>public interface class IFloatingPointConstants : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
generic <typename TSelf>
where TSelf : IFloatingPointConstants<TSelf>public interface class IFloatingPointConstants : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
public interface IFloatingPointConstants<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IFloatingPointConstants<TSelf>
public interface IFloatingPointConstants<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IFloatingPointConstants<TSelf>
type IFloatingPointConstants<'Self (requires 'Self :> IFloatingPointConstants<'Self>)> = interface
interface INumberBase<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IEquatable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
type IFloatingPointConstants<'Self (requires 'Self :> IFloatingPointConstants<'Self>)> = interface
interface INumberBase<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IEquatable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
type IFloatingPointConstants<'Self (requires 'Self :> IFloatingPointConstants<'Self>)> = interface
interface IEquatable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface INumberBase<'Self (requires 'Self :> IFloatingPointConstants<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPointConstants<'Self> and 'Self :> IFloatingPointConstants<'Self>)>
Public Interface IFloatingPointConstants(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf)
Public Interface IFloatingPointConstants(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf), IUtf8SpanParsable(Of TSelf)
Paramètres de type
- TSelf
Type qui implémente l’interface.
- Dérivé
- Implémente
-
IEquatable<TSelf> IFormattable IParsable<TSelf> ISpanFormattable ISpanParsable<TSelf> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<TSelf,TSelf> IDecrementOperators<TSelf> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<TSelf> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<TSelf,TSelf,TSelf> INumberBase<TSelf> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf>
Propriétés
E |
Obtient la constante |
Pi |
Obtient la constante |
Tau |
Obtient la constante |
Méthodes
Equals(T) |
Indique si l'objet actuel est égal à un autre objet du même type. (Hérité de IEquatable<T>) |
ToString(String, IFormatProvider) |
Met en forme la valeur de l’instance actuelle en utilisant le format spécifié. (Hérité de IFormattable) |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tente de mettre en forme la valeur de la instance actuelle en UTF-8 dans l’étendue d’octets fournie. (Hérité de IUtf8SpanFormattable) |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tente de mettre en forme la valeur du instance actuel dans l’étendue de caractères fournie. (Hérité de ISpanFormattable) |
Implémentations d’interfaces explicites
IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Définit la prise en charge des constantes à virgule flottante. (Hérité de INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider) |
Analyse une étendue de caractères UTF-8 dans 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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour