Lezen in het Engels Bewerken

Delen via


IBinaryFloatingPointIeee754<TSelf> Interface

Definition

Defines an IEEE 754 floating-point type that is represented in a base-2 format.

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>
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>

Type Parameters

TSelf

The type that implements the interface.

Derived
Implements

Methods

CompareTo(Object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

(Inherited from IComparable)
CompareTo(T)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

(Inherited from IComparable<T>)
Equals(T)

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

(Inherited from IEquatable<T>)
GetExponentByteCount()

Gets the number of bytes that will be written as part of TryWriteExponentLittleEndian(Span<Byte>, Int32).

(Inherited from IFloatingPoint<TSelf>)
GetExponentShortestBitLength()

Gets the length, in bits, of the shortest two's complement representation of the current exponent.

(Inherited from IFloatingPoint<TSelf>)
GetSignificandBitLength()

Gets the length, in bits, of the current significand.

(Inherited from IFloatingPoint<TSelf>)
GetSignificandByteCount()

Gets the number of bytes that will be written as part of TryWriteSignificandLittleEndian(Span<Byte>, Int32).

(Inherited from IFloatingPoint<TSelf>)
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)
TryWriteExponentBigEndian(Span<Byte>, Int32)

Tries to write the current exponent, in big-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
TryWriteExponentLittleEndian(Span<Byte>, Int32)

Tries to write the current exponent, in little-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
TryWriteSignificandBigEndian(Span<Byte>, Int32)

Tries to write the current significand, in big-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
TryWriteSignificandLittleEndian(Span<Byte>, Int32)

Tries to write the current significand, in little-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[], Int32)

Writes the current exponent, in big-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentBigEndian(Byte[])

Writes the current exponent, in big-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentBigEndian(Span<Byte>)

Writes the current exponent, in big-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[], Int32)

Writes the current exponent, in little-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Byte[])

Writes the current exponent, in little-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteExponentLittleEndian(Span<Byte>)

Writes the current exponent, in little-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[], Int32)

Writes the current significand, in big-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Byte[])

Writes the current significand, in big-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandBigEndian(Span<Byte>)

Writes the current significand, in big-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[], Int32)

Writes the current significand, in little-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Byte[])

Writes the current significand, in little-endian format, to a given array.

(Inherited from IFloatingPoint<TSelf>)
WriteSignificandLittleEndian(Span<Byte>)

Writes the current significand, in little-endian format, to a given span.

(Inherited from IFloatingPoint<TSelf>)

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

Product Versies
.NET 7, 8, 9