แก้ไข

แชร์ผ่าน


IFloatingPointConstants<TSelf> Interface

Definition

Defines support for floating-point constants.

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)

Type Parameters

TSelf

The type that implements the interface.

Derived
Implements

Properties

E

Gets the mathematical constant e.

Pi

Gets the mathematical constant pi.

Tau

Gets the mathematical constant tau.

Methods

Equals(T)

Indicates whether the current object is equal to another object of the same type.

(Inherited from IEquatable<T>)
ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.

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

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

(Inherited from IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to format the value of the current instance into the provided span of characters.

(Inherited from ISpanFormattable)

Explicit Interface Implementations

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

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

(Inherited from INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

Parses a span of UTF-8 characters into a value.

(Inherited from INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

Tries to parse a span of UTF-8 characters into a value.

(Inherited from INumberBase<TSelf>)

Applies to