IFloatingPoint<TSelf> インターフェイス

定義

浮動小数点型を定義します。

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)

型パラメーター

TSelf

インターフェイスを実装する型。

派生
実装

メソッド

Ceiling(TSelf)

値の上限を計算します。

CompareTo(Object)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスの並べ替え順序での位置が、比較対象のオブジェクトと比べて前か、後か、または同じかを示す整数を返します。

(継承元 IComparable)
CompareTo(T)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスの並べ替え順序での位置が、比較対象のオブジェクトと比べて前か、後か、または同じかを示す整数を返します。

(継承元 IComparable<T>)
Equals(T)

現在のオブジェクトが、同じ型の別のオブジェクトと等しいかどうかを示します。

(継承元 IEquatable<T>)
Floor(TSelf)

値のフロアを計算します。

GetExponentByteCount()

の一部として書き込まれるバイト数を TryWriteExponentLittleEndian(Span<Byte>, Int32)取得します。

GetExponentShortestBitLength()

現在の指数の最短 2 の補数表現の長さをビット単位で取得します。

GetSignificandBitLength()

現在の仮数の長さをビット単位で取得します。

GetSignificandByteCount()

の一部として書き込まれるバイト数を TryWriteSignificandLittleEndian(Span<Byte>, Int32)取得します。

Round(TSelf)

既定の丸めモード (ToEven) を使用して、値を最も近い整数に丸めます。

Round(TSelf, Int32)

既定の丸めモード (ToEven) を使用して、指定した桁数の小数部に値を丸めます。

Round(TSelf, Int32, MidpointRounding)

指定した丸めモードを使用して、指定した桁数の小数部に値を丸めます。

Round(TSelf, MidpointRounding)

指定した丸めモードを使用して、値を最も近い整数に丸めます。

ToString(String, IFormatProvider)

指定された書式を使用して現在のインスタンスの値を書式設定します。

(継承元 IFormattable)
Truncate(TSelf)

値を切り捨てます。

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

現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。

(継承元 IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在のインスタンスの値を、指定された文字数のスパンに書式設定しようとします。

(継承元 ISpanFormattable)
TryWriteExponentBigEndian(Span<Byte>, Int32)

現在の指数をビッグ エンディアン形式で特定のスパンに書き込もうとします。

TryWriteExponentLittleEndian(Span<Byte>, Int32)

現在の指数をリトル エンディアン形式で特定のスパンに書き込もうとします。

TryWriteSignificandBigEndian(Span<Byte>, Int32)

現在の仮数をビッグ エンディアン形式で特定のスパンに書き込もうとします。

TryWriteSignificandLittleEndian(Span<Byte>, Int32)

特定のスパンに現在の仮数をリトル エンディアン形式で書き込もうとします。

WriteExponentBigEndian(Byte[])

現在の指数をビッグ エンディアン形式で指定された配列に書き込みます。

WriteExponentBigEndian(Byte[], Int32)

現在の指数をビッグ エンディアン形式で指定された配列に書き込みます。

WriteExponentBigEndian(Span<Byte>)

現在の指数をビッグ エンディアン形式で特定のスパンに書き込みます。

WriteExponentLittleEndian(Byte[])

現在の指数をリトルエンディアン形式で指定された配列に書き込みます。

WriteExponentLittleEndian(Byte[], Int32)

現在の指数をリトルエンディアン形式で指定された配列に書き込みます。

WriteExponentLittleEndian(Span<Byte>)

現在の指数をリトル エンディアン形式で特定のスパンに書き込みます。

WriteSignificandBigEndian(Byte[])

現在の仮数をビッグ エンディアン形式で指定された配列に書き込みます。

WriteSignificandBigEndian(Byte[], Int32)

現在の仮数をビッグ エンディアン形式で指定された配列に書き込みます。

WriteSignificandBigEndian(Span<Byte>)

現在の仮数をビッグ エンディアン形式で特定のスパンに書き込みます。

WriteSignificandLittleEndian(Byte[])

現在の仮数を、リトル エンディアン形式で指定された配列に書き込みます。

WriteSignificandLittleEndian(Byte[], Int32)

現在の仮数を、リトル エンディアン形式で指定された配列に書き込みます。

WriteSignificandLittleEndian(Span<Byte>)

現在の仮数を、リトル エンディアン形式で特定のスパンに書き込みます。

明示的なインターフェイスの実装

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

浮動小数点型を定義します。

(継承元 INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

(継承元 INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

UTF-8 文字のスパンを値に解析しようとします。

(継承元 INumberBase<TSelf>)

適用対象