英語で読む

次の方法で共有


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

定義

Base-2 形式で表される IEEE 754 浮動小数点型を定義します。

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>

型パラメーター

TSelf

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

派生
実装

メソッド

CompareTo(Object)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスが他のオブジェクトと並べ替え順序で同じ位置にあるかどうかを示す整数を返します。

(継承元 IComparable)
CompareTo(T)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスが他のオブジェクトと並べ替え順序で同じ位置にあるかどうかを示す整数を返します。

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

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

(継承元 IEquatable<T>)
GetExponentByteCount()

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

(継承元 IFloatingPoint<TSelf>)
GetExponentShortestBitLength()

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

(継承元 IFloatingPoint<TSelf>)
GetSignificandBitLength()

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

(継承元 IFloatingPoint<TSelf>)
GetSignificandByteCount()

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

(継承元 IFloatingPoint<TSelf>)
ToString(String, IFormatProvider)

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

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

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

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

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

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

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

(継承元 IFloatingPoint<TSelf>)
TryWriteExponentLittleEndian(Span<Byte>, Int32)

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

(継承元 IFloatingPoint<TSelf>)
TryWriteSignificandBigEndian(Span<Byte>, Int32)

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

(継承元 IFloatingPoint<TSelf>)
TryWriteSignificandLittleEndian(Span<Byte>, Int32)

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[], Int32)

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[])

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentBigEndian(Span<Byte>)

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[], Int32)

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[])

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

(継承元 IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Span<Byte>)

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[], Int32)

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[])

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Span<Byte>)

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[], Int32)

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[])

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

(継承元 IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Span<Byte>)

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

(継承元 IFloatingPoint<TSelf>)

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

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

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

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

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

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

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

(継承元 INumberBase<TSelf>)

適用対象

製品 バージョン
.NET 7, 8, 9, 10