IFloatingPointConstants<TSelf> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义对浮点常量的支持。
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)
类型参数
- TSelf
实现接口的类型。
- 派生
- 实现
-
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>
属性
E |
获取数学常量 |
Pi |
获取数学常量 |
Tau |
获取数学常量 |
方法
Equals(T) |
指示当前对象是否等于同一类型的另一个对象。 (继承自 IEquatable<T>) |
ToString(String, IFormatProvider) |
使用指定格式设置当前实例的值的格式。 (继承自 IFormattable) |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
尝试将当前实例的值格式化为 UTF-8,并将其设置为提供的字节范围。 (继承自 IUtf8SpanFormattable) |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
尝试将当前实例的值格式化为提供的字符范围。 (继承自 ISpanFormattable) |
显式接口实现
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>) |