IFloatingPoint<TSelf> Interfaccia
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Definisce un tipo a virgola mobile.
generic <typename TSelf>
where TSelf : IFloatingPoint<TSelf>public interface class IFloatingPoint : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<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::IFloatingPointConstants<TSelf>, System::Numerics::IIncrementOperators<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::ISignedNumber<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
generic <typename TSelf>
where TSelf : IFloatingPoint<TSelf>public interface class IFloatingPoint : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<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::IFloatingPointConstants<TSelf>, System::Numerics::IIncrementOperators<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::ISignedNumber<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
public interface IFloatingPoint<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<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.IFloatingPointConstants<TSelf>, System.Numerics.IIncrementOperators<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.ISignedNumber<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IFloatingPoint<TSelf>
public interface IFloatingPoint<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<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.IFloatingPointConstants<TSelf>, System.Numerics.IIncrementOperators<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.ISignedNumber<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IFloatingPoint<TSelf>
type IFloatingPoint<'Self (requires 'Self :> IFloatingPoint<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IEquatable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IFloatingPointConstants<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface INumberBase<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface INumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISignedNumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
type IFloatingPoint<'Self (requires 'Self :> IFloatingPoint<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IEquatable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IFloatingPointConstants<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface INumberBase<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface INumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISignedNumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
type IFloatingPoint<'Self (requires 'Self :> IFloatingPoint<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IEquatable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IFloatingPointConstants<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface INumberBase<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self> and 'Self :> IFloatingPoint<'Self>)>
interface INumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
interface ISignedNumber<'Self (requires 'Self :> IFloatingPoint<'Self>)>
Public Interface IFloatingPoint(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IComparable(Of TSelf), IComparisonOperators(Of TSelf, TSelf, Boolean), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IFloatingPointConstants(Of TSelf), IIncrementOperators(Of TSelf), IModulusOperators(Of TSelf, TSelf, TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumber(Of TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISignedNumber(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf)
Public Interface IFloatingPoint(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IComparable(Of TSelf), IComparisonOperators(Of TSelf, TSelf, Boolean), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IFloatingPointConstants(Of TSelf), IIncrementOperators(Of TSelf), IModulusOperators(Of TSelf, TSelf, TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumber(Of TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISignedNumber(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf), IUtf8SpanParsable(Of TSelf)
Parametri di tipo
- TSelf
Tipo che implementa l'interfaccia .
- Derivato
- Implementazioni
-
IComparable IComparable<TSelf> IEquatable<TSelf> IFormattable IParsable<TSelf> ISpanFormattable ISpanParsable<TSelf> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<TSelf,TSelf> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<TSelf> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IFloatingPointConstants<TSelf> IIncrementOperators<TSelf> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<TSelf> INumberBase<TSelf> ISignedNumber<TSelf> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf>
Metodi
Ceiling(TSelf) |
Calcola il limite massimo di un valore. |
CompareTo(Object) |
Confronta l'istanza corrente con un altro oggetto dello stesso tipo e restituisce un numero intero che indica se l'istanza corrente precede, segue o si trova nella stessa posizione nell'ordinamento dell'altro oggetto. (Ereditato da IComparable) |
CompareTo(T) |
Confronta l'istanza corrente con un altro oggetto dello stesso tipo e restituisce un numero intero che indica se l'istanza corrente precede, segue o si trova nella stessa posizione nell'ordinamento dell'altro oggetto. (Ereditato da IComparable<T>) |
ConvertToInteger<TInteger>(TSelf) |
Converte un valore in un tipo integer specificato utilizzando la saturazione in caso di overflow |
ConvertToIntegerNative<TInteger>(TSelf) |
Converte un valore in un tipo integer specificato utilizzando un comportamento specifico della piattaforma in caso di overflow. |
Equals(T) |
Indica se l'oggetto corrente è uguale a un altro oggetto dello stesso tipo. (Ereditato da IEquatable<T>) |
Floor(TSelf) |
Calcola il piano di un valore. |
GetExponentByteCount() |
Ottiene il numero di byte che verranno scritti come parte di TryWriteExponentLittleEndian(Span<Byte>, Int32). |
GetExponentShortestBitLength() |
Ottiene la lunghezza, espressa in bit, della rappresentazione di complemento più breve dell'esponente corrente. |
GetSignificandBitLength() |
Ottiene la lunghezza, espressa in bit, del significando corrente. |
GetSignificandByteCount() |
Ottiene il numero di byte che verranno scritti come parte di TryWriteSignificandLittleEndian(Span<Byte>, Int32). |
Round(TSelf) |
Arrotonda un valore all'intero più vicino usando la modalità di arrotondamento predefinita (ToEven). |
Round(TSelf, Int32) |
Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento predefinita (ToEven). |
Round(TSelf, Int32, MidpointRounding) |
Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento specificata. |
Round(TSelf, MidpointRounding) |
Arrotonda un valore all'intero più vicino utilizzando la modalità di arrotondamento specificata. |
ToString(String, IFormatProvider) |
Formatta il valore dell'istanza corrente utilizzando il formato specificato. (Ereditato da IFormattable) |
Truncate(TSelf) |
Tronca un valore. |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Prova a formattare il valore dell'istanza corrente come UTF-8 nell'intervallo di byte specificato. (Ereditato da IUtf8SpanFormattable) |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tenta di formattare il valore dell'istanza corrente nell'intervallo di caratteri specificato. (Ereditato da ISpanFormattable) |
TryWriteExponentBigEndian(Span<Byte>, Int32) |
Prova a scrivere l'esponente corrente, in formato big-endian, in un determinato intervallo. |
TryWriteExponentLittleEndian(Span<Byte>, Int32) |
Prova a scrivere l'esponente corrente, in formato little-endian, in un intervallo specificato. |
TryWriteSignificandBigEndian(Span<Byte>, Int32) |
Prova a scrivere il significando corrente, in formato big-endian, in un intervallo specificato. |
TryWriteSignificandLittleEndian(Span<Byte>, Int32) |
Prova a scrivere il significando corrente, in formato little-endian, in un intervallo specificato. |
WriteExponentBigEndian(Byte[]) |
Scrive l'esponente corrente, in formato big-endian, in una determinata matrice. |
WriteExponentBigEndian(Byte[], Int32) |
Scrive l'esponente corrente, in formato big-endian, in una determinata matrice. |
WriteExponentBigEndian(Span<Byte>) |
Scrive l'esponente corrente, in formato big-endian, in un intervallo specificato. |
WriteExponentLittleEndian(Byte[]) |
Scrive l'esponente corrente, in formato little-endian, in una determinata matrice. |
WriteExponentLittleEndian(Byte[], Int32) |
Scrive l'esponente corrente, in formato little-endian, in una determinata matrice. |
WriteExponentLittleEndian(Span<Byte>) |
Scrive l'esponente corrente, in formato little-endian, in un intervallo specificato. |
WriteSignificandBigEndian(Byte[]) |
Scrive il significando corrente, in formato big-endian, in una determinata matrice. |
WriteSignificandBigEndian(Byte[], Int32) |
Scrive il significando corrente, in formato big-endian, in una determinata matrice. |
WriteSignificandBigEndian(Span<Byte>) |
Scrive il significando corrente, in formato big-endian, in un intervallo specificato. |
WriteSignificandLittleEndian(Byte[]) |
Scrive il significando corrente, in formato little-endian, in una determinata matrice. |
WriteSignificandLittleEndian(Byte[], Int32) |
Scrive il significando corrente, in formato little-endian, in una determinata matrice. |
WriteSignificandLittleEndian(Span<Byte>) |
Scrive il significando corrente, in formato little-endian, in un intervallo specificato. |
Implementazioni dell'interfaccia esplicita
IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Prova a formattare il valore dell'istanza corrente come UTF-8 nell'intervallo di byte specificato. (Ereditato da INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider) |
Analizza un intervallo di caratteri UTF-8 in un valore. (Ereditato da INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf) |
Prova ad analizzare un intervallo di caratteri UTF-8 in un valore. (Ereditato da INumberBase<TSelf>) |