IBinaryNumber<TSelf> インターフェイス
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
base-2 形式で表される数値を定義します。
generic <typename TSelf>
where TSelf : IBinaryNumber<TSelf>public interface class IBinaryNumber : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, 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::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::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
generic <typename TSelf>
where TSelf : IBinaryNumber<TSelf>public interface class IBinaryNumber : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, 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::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::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
public interface IBinaryNumber<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,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.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.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IBinaryNumber<TSelf>
public interface IBinaryNumber<TSelf> : IComparable<TSelf>, IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,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.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.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IBinaryNumber<TSelf>
type IBinaryNumber<'Self (requires 'Self :> IBinaryNumber<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IEquatable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IBitwiseOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface INumber<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface INumberBase<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
type IBinaryNumber<'Self (requires 'Self :> IBinaryNumber<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IEquatable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IBitwiseOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface INumber<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface INumberBase<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
type IBinaryNumber<'Self (requires 'Self :> IBinaryNumber<'Self>)> = interface
interface IComparable
interface IComparable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IEquatable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IFormattable
interface IParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISpanFormattable
interface ISpanParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IBitwiseOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IComparisonOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IDecrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IIncrementOperators<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface IModulusOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface INumber<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface INumberBase<'Self (requires 'Self :> IBinaryNumber<'Self>)>
interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IBinaryNumber<'Self> and 'Self :> IBinaryNumber<'Self>)>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<'Self (requires 'Self :> IBinaryNumber<'Self>)>
Public Interface IBinaryNumber(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IBitwiseOperators(Of TSelf, 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), 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), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf), IUtf8SpanParsable(Of TSelf)
Public Interface IBinaryNumber(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IBitwiseOperators(Of TSelf, 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), 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), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf)
- TSelf
インターフェイスを実装する型。
- 派生
- 実装
-
IComparable IComparable<TSelf> IEquatable<TSelf> IFormattable IParsable<TSelf> ISpanFormattable ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<TSelf,TSelf> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<TSelf> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<TSelf> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<TSelf> INumberBase<TSelf> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<TSelf,TSelf>
All |
すべてのビットが設定されているバイナリ型のインスタンスを取得します。 |
Compare |
現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスが他のオブジェクトと並べ替え順序で同じ位置にあるかどうかを示す整数を返します。 (継承元 IComparable) |
Compare |
現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスが他のオブジェクトと並べ替え順序で同じ位置にあるかどうかを示す整数を返します。 (継承元 IComparable<T>) |
Equals(T) |
現在のオブジェクトが同じ型の別のオブジェクトと等しいかどうかを示します。 (継承元 IEquatable<T>) |
Is |
値が 2 の累乗であるかどうかを判断します。 |
Log2(TSelf) |
値の log2 を計算します。 |
To |
指定した形式を使用して、現在のインスタンスの値を書式設定します。 (継承元 IFormattable) |
Try |
現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。 (継承元 IUtf8SpanFormattable) |
Try |
現在のインスタンスの値を指定された文字スパンに書式設定しようとします。 (継承元 ISpanFormattable) |
IUtf8Span |
現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。 (継承元 INumberBase<TSelf>) |
IUtf8Span |
UTF-8 文字のスパンを値に解析します。 (継承元 INumberBase<TSelf>) |
IUtf8Span |
UTF-8 文字のスパンを値に解析しようとします。 (継承元 INumberBase<TSelf>) |
製品 | バージョン |
---|---|
.NET | 7, 8, 9, 10 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。