संपादित करें

इसके माध्यम से साझा किया गया


NFloat Struct

Definition

NFloat is an immutable value type that represents a floating type that has the same size as the native integer size. It is meant to be used as an exchange type at the managed/unmanaged boundary to accurately represent in managed code unmanaged APIs that use a type alias for C or C++'s float on 32-bit platforms or double on 64-bit platforms, such as the CGFloat type in libraries provided by Apple.

public value class NFloat : IEquatable<System::Runtime::InteropServices::NFloat>
public value class NFloat : IComparable<System::Runtime::InteropServices::NFloat>, IEquatable<System::Runtime::InteropServices::NFloat>, IParsable<System::Runtime::InteropServices::NFloat>, ISpanParsable<System::Runtime::InteropServices::NFloat>, System::Numerics::IAdditionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IAdditiveIdentity<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IBinaryFloatingPointIeee754<System::Runtime::InteropServices::NFloat>, System::Numerics::IBinaryNumber<System::Runtime::InteropServices::NFloat>, System::Numerics::IBitwiseOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IComparisonOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>, System::Numerics::IDecrementOperators<System::Runtime::InteropServices::NFloat>, System::Numerics::IDivisionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IEqualityOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>, System::Numerics::IExponentialFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPointConstants<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>, System::Numerics::IHyperbolicFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IIncrementOperators<System::Runtime::InteropServices::NFloat>, System::Numerics::ILogarithmicFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IMinMaxValue<System::Runtime::InteropServices::NFloat>, System::Numerics::IModulusOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IMultiplicativeIdentity<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IMultiplyOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::INumber<System::Runtime::InteropServices::NFloat>, System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>, System::Numerics::IPowerFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IRootFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::ISignedNumber<System::Runtime::InteropServices::NFloat>, System::Numerics::ISubtractionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IUnaryNegationOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IUnaryPlusOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>
public value class NFloat : IComparable<System::Runtime::InteropServices::NFloat>, IEquatable<System::Runtime::InteropServices::NFloat>, IParsable<System::Runtime::InteropServices::NFloat>, ISpanParsable<System::Runtime::InteropServices::NFloat>, IUtf8SpanParsable<System::Runtime::InteropServices::NFloat>, System::Numerics::IAdditionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IAdditiveIdentity<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IBinaryFloatingPointIeee754<System::Runtime::InteropServices::NFloat>, System::Numerics::IBinaryNumber<System::Runtime::InteropServices::NFloat>, System::Numerics::IBitwiseOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IComparisonOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>, System::Numerics::IDecrementOperators<System::Runtime::InteropServices::NFloat>, System::Numerics::IDivisionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IEqualityOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>, System::Numerics::IExponentialFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPointConstants<System::Runtime::InteropServices::NFloat>, System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>, System::Numerics::IHyperbolicFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IIncrementOperators<System::Runtime::InteropServices::NFloat>, System::Numerics::ILogarithmicFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IMinMaxValue<System::Runtime::InteropServices::NFloat>, System::Numerics::IModulusOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IMultiplicativeIdentity<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IMultiplyOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::INumber<System::Runtime::InteropServices::NFloat>, System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>, System::Numerics::IPowerFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IRootFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::ISignedNumber<System::Runtime::InteropServices::NFloat>, System::Numerics::ISubtractionOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>, System::Numerics::IUnaryNegationOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>, System::Numerics::IUnaryPlusOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>
public readonly struct NFloat : IEquatable<System.Runtime.InteropServices.NFloat>
public readonly struct NFloat : IComparable<System.Runtime.InteropServices.NFloat>, IEquatable<System.Runtime.InteropServices.NFloat>, IParsable<System.Runtime.InteropServices.NFloat>, ISpanParsable<System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditiveIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IComparisonOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,bool>, System.Numerics.IDecrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.IDivisionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IEqualityOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,bool>, System.Numerics.IExponentialFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPointConstants<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IHyperbolicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IIncrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.ILogarithmicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IMinMaxValue<System.Runtime.InteropServices.NFloat>, System.Numerics.IModulusOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplicativeIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplyOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.INumber<System.Runtime.InteropServices.NFloat>, System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>, System.Numerics.IPowerFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IRootFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.ISignedNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.ISubtractionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.ITrigonometricFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryNegationOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryPlusOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>
public readonly struct NFloat : IComparable<System.Runtime.InteropServices.NFloat>, IEquatable<System.Runtime.InteropServices.NFloat>, IParsable<System.Runtime.InteropServices.NFloat>, ISpanParsable<System.Runtime.InteropServices.NFloat>, IUtf8SpanParsable<System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditiveIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IComparisonOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,bool>, System.Numerics.IDecrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.IDivisionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IEqualityOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,bool>, System.Numerics.IExponentialFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPointConstants<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IHyperbolicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IIncrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.ILogarithmicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IMinMaxValue<System.Runtime.InteropServices.NFloat>, System.Numerics.IModulusOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplicativeIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplyOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.INumber<System.Runtime.InteropServices.NFloat>, System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>, System.Numerics.IPowerFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IRootFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.ISignedNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.ISubtractionOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.ITrigonometricFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryNegationOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryPlusOperators<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>
type NFloat = struct
type NFloat = struct
    interface IFormattable
    interface IParsable<NFloat>
    interface ISpanFormattable
    interface ISpanParsable<NFloat>
    interface IAdditionOperators<NFloat, NFloat, NFloat>
    interface IAdditiveIdentity<NFloat, NFloat>
    interface IBinaryFloatingPointIeee754<NFloat>
    interface IBinaryNumber<NFloat>
    interface IBitwiseOperators<NFloat, NFloat, NFloat>
    interface IComparisonOperators<NFloat, NFloat, bool>
    interface IEqualityOperators<NFloat, NFloat, bool>
    interface IDecrementOperators<NFloat>
    interface IDivisionOperators<NFloat, NFloat, NFloat>
    interface IIncrementOperators<NFloat>
    interface IModulusOperators<NFloat, NFloat, NFloat>
    interface IMultiplicativeIdentity<NFloat, NFloat>
    interface IMultiplyOperators<NFloat, NFloat, NFloat>
    interface INumber<NFloat>
    interface INumberBase<NFloat>
    interface ISubtractionOperators<NFloat, NFloat, NFloat>
    interface IUnaryNegationOperators<NFloat, NFloat>
    interface IUnaryPlusOperators<NFloat, NFloat>
    interface IExponentialFunctions<NFloat>
    interface IFloatingPointConstants<NFloat>
    interface IFloatingPoint<NFloat>
    interface ISignedNumber<NFloat>
    interface IFloatingPointIeee754<NFloat>
    interface IHyperbolicFunctions<NFloat>
    interface ILogarithmicFunctions<NFloat>
    interface IPowerFunctions<NFloat>
    interface IRootFunctions<NFloat>
    interface ITrigonometricFunctions<NFloat>
    interface IMinMaxValue<NFloat>
type NFloat = struct
    interface IFormattable
    interface IParsable<NFloat>
    interface ISpanFormattable
    interface ISpanParsable<NFloat>
    interface IAdditionOperators<NFloat, NFloat, NFloat>
    interface IAdditiveIdentity<NFloat, NFloat>
    interface IBinaryFloatingPointIeee754<NFloat>
    interface IBinaryNumber<NFloat>
    interface IBitwiseOperators<NFloat, NFloat, NFloat>
    interface IComparisonOperators<NFloat, NFloat, bool>
    interface IEqualityOperators<NFloat, NFloat, bool>
    interface IDecrementOperators<NFloat>
    interface IDivisionOperators<NFloat, NFloat, NFloat>
    interface IIncrementOperators<NFloat>
    interface IModulusOperators<NFloat, NFloat, NFloat>
    interface IMultiplicativeIdentity<NFloat, NFloat>
    interface IMultiplyOperators<NFloat, NFloat, NFloat>
    interface INumber<NFloat>
    interface INumberBase<NFloat>
    interface ISubtractionOperators<NFloat, NFloat, NFloat>
    interface IUnaryNegationOperators<NFloat, NFloat>
    interface IUnaryPlusOperators<NFloat, NFloat>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<NFloat>
    interface IExponentialFunctions<NFloat>
    interface IFloatingPointConstants<NFloat>
    interface IFloatingPoint<NFloat>
    interface ISignedNumber<NFloat>
    interface IFloatingPointIeee754<NFloat>
    interface IHyperbolicFunctions<NFloat>
    interface ILogarithmicFunctions<NFloat>
    interface IPowerFunctions<NFloat>
    interface IRootFunctions<NFloat>
    interface ITrigonometricFunctions<NFloat>
    interface IMinMaxValue<NFloat>
type NFloat = struct
    interface IFormattable
    interface IParsable<NFloat>
    interface ISpanFormattable
    interface ISpanParsable<NFloat>
    interface IAdditionOperators<NFloat, NFloat, NFloat>
    interface IAdditiveIdentity<NFloat, NFloat>
    interface IBinaryFloatingPointIeee754<NFloat>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<NFloat>
    interface IBinaryNumber<NFloat>
    interface IBitwiseOperators<NFloat, NFloat, NFloat>
    interface IComparisonOperators<NFloat, NFloat, bool>
    interface IEqualityOperators<NFloat, NFloat, bool>
    interface IDecrementOperators<NFloat>
    interface IDivisionOperators<NFloat, NFloat, NFloat>
    interface IIncrementOperators<NFloat>
    interface IModulusOperators<NFloat, NFloat, NFloat>
    interface IMultiplicativeIdentity<NFloat, NFloat>
    interface IMultiplyOperators<NFloat, NFloat, NFloat>
    interface INumber<NFloat>
    interface INumberBase<NFloat>
    interface ISubtractionOperators<NFloat, NFloat, NFloat>
    interface IUnaryNegationOperators<NFloat, NFloat>
    interface IUnaryPlusOperators<NFloat, NFloat>
    interface IExponentialFunctions<NFloat>
    interface IFloatingPointConstants<NFloat>
    interface IFloatingPoint<NFloat>
    interface ISignedNumber<NFloat>
    interface IFloatingPointIeee754<NFloat>
    interface IHyperbolicFunctions<NFloat>
    interface ILogarithmicFunctions<NFloat>
    interface IPowerFunctions<NFloat>
    interface IRootFunctions<NFloat>
    interface ITrigonometricFunctions<NFloat>
    interface IMinMaxValue<NFloat>
Public Structure NFloat
Implements IEquatable(Of NFloat)
Public Structure NFloat
Implements IAdditionOperators(Of NFloat, NFloat, NFloat), IAdditiveIdentity(Of NFloat, NFloat), IBinaryFloatingPointIeee754(Of NFloat), IBinaryNumber(Of NFloat), IBitwiseOperators(Of NFloat, NFloat, NFloat), IComparable(Of NFloat), IComparisonOperators(Of NFloat, NFloat, Boolean), IDecrementOperators(Of NFloat), IDivisionOperators(Of NFloat, NFloat, NFloat), IEqualityOperators(Of NFloat, NFloat, Boolean), IEquatable(Of NFloat), IExponentialFunctions(Of NFloat), IFloatingPoint(Of NFloat), IFloatingPointConstants(Of NFloat), IFloatingPointIeee754(Of NFloat), IHyperbolicFunctions(Of NFloat), IIncrementOperators(Of NFloat), ILogarithmicFunctions(Of NFloat), IMinMaxValue(Of NFloat), IModulusOperators(Of NFloat, NFloat, NFloat), IMultiplicativeIdentity(Of NFloat, NFloat), IMultiplyOperators(Of NFloat, NFloat, NFloat), INumber(Of NFloat), INumberBase(Of NFloat), IParsable(Of NFloat), IPowerFunctions(Of NFloat), IRootFunctions(Of NFloat), ISignedNumber(Of NFloat), ISpanParsable(Of NFloat), ISubtractionOperators(Of NFloat, NFloat, NFloat), ITrigonometricFunctions(Of NFloat), IUnaryNegationOperators(Of NFloat, NFloat), IUnaryPlusOperators(Of NFloat, NFloat)
Public Structure NFloat
Implements IAdditionOperators(Of NFloat, NFloat, NFloat), IAdditiveIdentity(Of NFloat, NFloat), IBinaryFloatingPointIeee754(Of NFloat), IBinaryNumber(Of NFloat), IBitwiseOperators(Of NFloat, NFloat, NFloat), IComparable(Of NFloat), IComparisonOperators(Of NFloat, NFloat, Boolean), IDecrementOperators(Of NFloat), IDivisionOperators(Of NFloat, NFloat, NFloat), IEqualityOperators(Of NFloat, NFloat, Boolean), IEquatable(Of NFloat), IExponentialFunctions(Of NFloat), IFloatingPoint(Of NFloat), IFloatingPointConstants(Of NFloat), IFloatingPointIeee754(Of NFloat), IHyperbolicFunctions(Of NFloat), IIncrementOperators(Of NFloat), ILogarithmicFunctions(Of NFloat), IMinMaxValue(Of NFloat), IModulusOperators(Of NFloat, NFloat, NFloat), IMultiplicativeIdentity(Of NFloat, NFloat), IMultiplyOperators(Of NFloat, NFloat, NFloat), INumber(Of NFloat), INumberBase(Of NFloat), IParsable(Of NFloat), IPowerFunctions(Of NFloat), IRootFunctions(Of NFloat), ISignedNumber(Of NFloat), ISpanParsable(Of NFloat), ISubtractionOperators(Of NFloat, NFloat, NFloat), ITrigonometricFunctions(Of NFloat), IUnaryNegationOperators(Of NFloat, NFloat), IUnaryPlusOperators(Of NFloat, NFloat), IUtf8SpanParsable(Of NFloat)
Inheritance
NFloat
Implements
IEquatable<NFloat> IComparable IComparable<NFloat> IComparable<TSelf> IEquatable<TSelf> IFormattable IParsable<NFloat> IParsable<TSelf> ISpanFormattable ISpanParsable<NFloat> ISpanParsable<TSelf> IAdditionOperators<NFloat,NFloat,NFloat> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<NFloat,NFloat> IAdditiveIdentity<TSelf,TSelf> IBinaryFloatingPointIeee754<NFloat> IBinaryNumber<NFloat> IBinaryNumber<TSelf> IBitwiseOperators<NFloat,NFloat,NFloat> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<NFloat,NFloat,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<NFloat> IDecrementOperators<TSelf> IDivisionOperators<NFloat,NFloat,NFloat> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<NFloat,NFloat,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IExponentialFunctions<NFloat> IExponentialFunctions<TSelf> IFloatingPoint<NFloat> IFloatingPoint<TSelf> IFloatingPointConstants<NFloat> IFloatingPointConstants<TSelf> IFloatingPointIeee754<NFloat> IFloatingPointIeee754<TSelf> IHyperbolicFunctions<NFloat> IHyperbolicFunctions<TSelf> IIncrementOperators<NFloat> IIncrementOperators<TSelf> ILogarithmicFunctions<NFloat> ILogarithmicFunctions<TSelf> IMinMaxValue<NFloat> IModulusOperators<NFloat,NFloat,NFloat> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<NFloat,NFloat> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<NFloat,NFloat,NFloat> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<NFloat> INumber<TSelf> INumberBase<NFloat> INumberBase<TSelf> IPowerFunctions<NFloat> IPowerFunctions<TSelf> IRootFunctions<NFloat> IRootFunctions<TSelf> ISignedNumber<NFloat> ISignedNumber<TSelf> ISubtractionOperators<NFloat,NFloat,NFloat> ISubtractionOperators<TSelf,TSelf,TSelf> ITrigonometricFunctions<NFloat> ITrigonometricFunctions<TSelf> IUnaryNegationOperators<NFloat,NFloat> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<NFloat,NFloat> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<NFloat> IUtf8SpanParsable<TSelf>

Remarks

It is meant to be used as an exchange type at the managed/unmanaged boundary to accurately represent in managed code unmanaged APIs that use a type alias for C or C++'s float on 32-bit platforms or double on 64-bit platforms, such as the CGFloat type in libraries provided by Apple.

Constructors

NFloat(Double)

Constructs an instance from a 64-bit floating point value.

NFloat(Single)

Constructs an instance from a 32-bit floating point value.

Properties

E

Gets the mathematical constant e.

Epsilon

Represents the smallest positive NFloat value that is greater than zero.

MaxValue

Represents the largest finite value of a NFloat.

MinValue

Represents the smallest finite value of a NFloat.

NaN

Represents a value that is not a number (NaN).

NegativeInfinity

Represents negative infinity.

NegativeZero

Gets a value that represents negative zero.

Pi

Gets the mathematical constant pi.

PositiveInfinity

Represents positive infinity.

Size

Gets the size, in bytes, of an NFloat.

Tau

Gets the mathematical constant tau.

Value

The underlying floating-point value of this instance.

Methods

Abs(NFloat)

Computes the absolute of a value.

Acos(NFloat)

Computes the arc-cosine of a value.

Acosh(NFloat)

Computes the hyperbolic arc-cosine of a value.

AcosPi(NFloat)

Computes the arc-cosine of a value and divides the result by pi.

Asin(NFloat)

Computes the arc-sine of a value.

Asinh(NFloat)

Computes the hyperbolic arc-sine of a value.

AsinPi(NFloat)

Computes the arc-sine of a value and divides the result by pi.

Atan(NFloat)

Computes the arc-tangent of a value.

Atan2(NFloat, NFloat)

Computes the arc-tangent of the quotient of two values.

Atan2Pi(NFloat, NFloat)

Computes the arc-tangent for the quotient of two values and divides the result by pi.

Atanh(NFloat)

Computes the hyperbolic arc-tangent of a value.

AtanPi(NFloat)

Computes the arc-tangent of a value and divides the result by pi.

BitDecrement(NFloat)

Decrements a value to the smallest value that compares less than a given value.

BitIncrement(NFloat)

Increments a value to the smallest value that compares greater than a given value.

Cbrt(NFloat)

Computes the cube-root of a value.

Ceiling(NFloat)

Computes the ceiling of a value.

Clamp(NFloat, NFloat, NFloat)

Clamps a value to an inclusive minimum and maximum value.

CompareTo(NFloat)

Compares this instance to a specified floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified floating-point number.

CompareTo(Object)

Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.

ConvertToInteger<TInteger>(NFloat)

Converts a value to a specified integer type using saturation on overflow

ConvertToIntegerNative<TInteger>(NFloat)

Converts a value to a specified integer type using platform specific behavior on overflow.

CopySign(NFloat, NFloat)

Copies the sign of a value to the sign of another value.

Cos(NFloat)

Computes the cosine of a value.

Cosh(NFloat)

Computes the hyperbolic cosine of a value.

CosPi(NFloat)

Computes the cosine of a value that has been multipled by pi.

CreateChecked<TOther>(TOther)

Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.

CreateSaturating<TOther>(TOther)

Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.

CreateTruncating<TOther>(TOther)

Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.

DegreesToRadians(NFloat)

Converts a given value from degrees to radians.

Equals(NFloat)

Returns a value indicating whether this instance is equal to a specified CLong value.

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

Exp(NFloat)

Computes E raised to a given power.

Exp10(NFloat)

Computes 10 raised to a given power.

Exp10M1(NFloat)

Computes 10 raised to a given power and subtracts one.

Exp2(NFloat)

Computes 2 raised to a given power.

Exp2M1(NFloat)

Computes 2 raised to a given power and subtracts one.

ExpM1(NFloat)

Computes E raised to a given power and subtracts one.

Floor(NFloat)

Computes the floor of a value.

FusedMultiplyAdd(NFloat, NFloat, NFloat)

Computes the fused multiply-add of three values.

GetHashCode()

Returns the hash code for this instance.

Hypot(NFloat, NFloat)

Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.

Ieee754Remainder(NFloat, NFloat)

Computes the remainder of two values as specified by IEEE 754.

ILogB(NFloat)

Computes the integer logarithm of a value.

IsEvenInteger(NFloat)

Determines if a value represents an even integral number.

IsFinite(NFloat)

Determines whether the specified value is finite (zero, subnormal, or normal).

IsInfinity(NFloat)

Determines whether the specified value is infinite (positive or negative infinity).

IsInteger(NFloat)

Determines if a value represents an integral number.

IsNaN(NFloat)

Determines whether the specified value is NaN (not a number).

IsNegative(NFloat)

Determines whether the specified value is negative.

IsNegativeInfinity(NFloat)

Determines whether the specified value is negative infinity.

IsNormal(NFloat)

Determines whether the specified value is normal.

IsOddInteger(NFloat)

Determines if a value represents an odd integral number.

IsPositive(NFloat)

Determines if a value is positive.

IsPositiveInfinity(NFloat)

Determines whether the specified value is positive infinity.

IsPow2(NFloat)

Determines if a value is a power of two.

IsRealNumber(NFloat)

Determines if a value represents a real number.

IsSubnormal(NFloat)

Determines whether the specified value is subnormal.

Lerp(NFloat, NFloat, NFloat)

Performs a linear interpolation between two values based on the given weight.

Log(NFloat, NFloat)

Computes the logarithm of a value in the specified base.

Log(NFloat)

Computes the natural (base-E logarithm of a value.

Log10(NFloat)

Computes the base-10 logarithm of a value.

Log10P1(NFloat)

Computes the base-10 logarithm of a value plus one.

Log2(NFloat)

Computes the log2 of a value.

Log2P1(NFloat)

Computes the base-2 logarithm of a value plus one.

LogP1(NFloat)

Computes the natural (base-E) logarithm of a value plus one.

Max(NFloat, NFloat)

Compares two values to compute which is greater.

MaxMagnitude(NFloat, NFloat)

Compares two values to compute which is greater.

MaxMagnitudeNumber(NFloat, NFloat)

Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.

MaxNumber(NFloat, NFloat)

Compares two values to compute which is greater and returning the other value if an input is NaN.

Min(NFloat, NFloat)

Compares two values to compute which is lesser.

MinMagnitude(NFloat, NFloat)

Compares two values to compute which is lesser.

MinMagnitudeNumber(NFloat, NFloat)

Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.

MinNumber(NFloat, NFloat)

Compares two values to compute which is lesser and returning the other value if an input is NaN.

MultiplyAddEstimate(NFloat, NFloat, NFloat)

Computes an estimate of (left * right) + addend.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

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

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

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

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parses a span of characters into a value.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Converts a character span that contains the string representation of a number in a specified style and culture-specific format to its floating-point number equivalent.

Parse(String, IFormatProvider)

Converts the string representation of a number in a specified culture-specific format to its floating-point number equivalent.

Parse(String, NumberStyles, IFormatProvider)

Converts the string representation of a number in a specified style and culture-specific format to its floating-point number equivalent.

Parse(String, NumberStyles)

Converts the string representation of a number in a specified style to its floating-point number equivalent.

Parse(String)

Converts the string representation of a number to its floating-point number equivalent.

Pow(NFloat, NFloat)

Computes a value raised to a given power.

RadiansToDegrees(NFloat)

Converts a given value from radians to degrees.

ReciprocalEstimate(NFloat)

Computes an estimate of the reciprocal of a value.

ReciprocalSqrtEstimate(NFloat)

Computes an estimate of the reciprocal square root of a value.

RootN(NFloat, Int32)

Computes the n-th root of a value.

Round(NFloat, Int32, MidpointRounding)

Rounds a value to a specified number of fractional-digits using the default rounding mode (ToEven).

Round(NFloat, Int32)

Rounds a value to a specified number of fractional-digits using the default rounding mode (ToEven).

Round(NFloat, MidpointRounding)

Rounds a value to the nearest integer using the specified rounding mode.

Round(NFloat)

Rounds a value to the nearest integer using the default rounding mode (ToEven).

ScaleB(NFloat, Int32)

Computes the product of a value and its base-radix raised to the specified power.

Sign(NFloat)

Computes the sign of a value.

Sin(NFloat)

Computes the sine of a value.

SinCos(NFloat)

Computes the sine and cosine of a value.

SinCosPi(NFloat)

Computes the sine and cosine of a value.

Sinh(NFloat)

Computes the hyperbolic sine of a value.

SinPi(NFloat)

Computes the sine of a value that has been multiplied by pi.

Sqrt(NFloat)

Computes the square-root of a value.

Tan(NFloat)

Computes the tangent of a value.

Tanh(NFloat)

Computes the hyperbolic tangent of a value.

TanPi(NFloat)

Computes the tangent of a value that has been multipled by pi.

ToString()

Converts the numeric value of this instance to its equivalent string representation.

ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

ToString(String, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

ToString(String)

Converts the numeric value of this instance to its equivalent string representation using the specified format.

Truncate(NFloat)

Truncates a value.

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.

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

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

TryParse(ReadOnlySpan<Byte>, IFormatProvider, NFloat)

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

TryParse(ReadOnlySpan<Byte>, NFloat)

Tries to convert a UTF-8 character span containing the string representation of a number to its floating-point number equivalent.

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, NFloat)

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

TryParse(ReadOnlySpan<Char>, IFormatProvider, NFloat)

Tries to parse a span of characters into a value.

TryParse(ReadOnlySpan<Char>, NFloat)

Tries to convert a character span containing the string representation of a number to its floating-point number equivalent.

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, NFloat)

Tries to convert a character span containing the string representation of a number in a specified style and culture-specific format to its floating-point number equivalent.

TryParse(String, IFormatProvider, NFloat)

Tries to parse a string into a value.

TryParse(String, NFloat)

Tries to convert the string representation of a number to its floating-point number equivalent.

TryParse(String, NumberStyles, IFormatProvider, NFloat)

Tries to convert the string representation of a number in a specified style and culture-specific format to its floating-point number equivalent.

Operators

Addition(NFloat, NFloat)

Adds two values together to compute their sum.

CheckedExplicit(NFloat to Byte)
Decrement(NFloat)

Decrements a value.

Division(NFloat, NFloat)

Divides two values together to compute their quotient.

Equality(NFloat, NFloat)

Compares two values to determine equality.

Explicit(Decimal to NFloat)

Explicitly converts a Decimal value to its nearest representable native-sized floating-point value.

Explicit(Double to NFloat)

Explicitly converts a Double value to its nearest representable native-sized floating-point value.

Explicit(Int128 to NFloat)

Explicitly converts a Int128 to its nearest representable native-sized floating-point value.

Explicit(NFloat to Byte)

Explicitly converts a native-sized floating-point value to its nearest representable Byte value.

Explicit(NFloat to Char)

Explicitly converts a native-sized floating-point value to its nearest representable Char value.

Explicit(NFloat to Decimal)

Explicitly converts a native-sized floating-point value to its nearest representable Decimal value.

Explicit(NFloat to Half)

Explicitly converts a native-sized floating-point value to its nearest representable Half value.

Explicit(NFloat to Int128)

Explicitly converts a native-sized floating-point value to its nearest representable Int128 value.

Explicit(NFloat to Int16)

Explicitly converts a native-sized floating-point value to its nearest representable Int16 value.

Explicit(NFloat to Int32)

Explicitly converts a native-sized floating-point value to its nearest representable Int32 value.

Explicit(NFloat to Int64)

Explicitly converts a native-sized floating-point value to its nearest representable Int64 value.

Explicit(NFloat to IntPtr)

Explicitly converts a native-sized floating-point value to its nearest representable IntPtr value.

Explicit(NFloat to SByte)

Explicitly converts a native-sized floating-point value to its nearest representable SByte value.

Explicit(NFloat to Single)

Explicitly converts a native-sized floating-point value to its nearest representable Single value.

Explicit(NFloat to UInt128)

Explicitly converts a native-sized floating-point value to its nearest representable UInt128 value.

Explicit(NFloat to UInt16)

Explicitly converts a native-sized floating-point value to its nearest representable UInt16 value.

Explicit(NFloat to UInt32)

Explicitly converts a native-sized floating-point value to its nearest representable UInt32 value.

Explicit(NFloat to UInt64)

Explicitly converts a native-sized floating-point value to its nearest representable UInt64 value.

Explicit(NFloat to UIntPtr)

Explicitly converts a native-sized floating-point value to its nearest representable UIntPtr value.

Explicit(UInt128 to NFloat)

Explicitly converts UInt128 to its nearest representable native-sized floating-point value.

GreaterThan(NFloat, NFloat)

Compares two values to determine which is greater.

GreaterThanOrEqual(NFloat, NFloat)

Compares two values to determine which is greater or equal.

Implicit(Byte to NFloat)

Implicitly converts a Byte value to its nearest representable native-sized floating-point value.

Implicit(Char to NFloat)

Implicitly converts a Char value to its nearest representable native-sized floating-point value.

Implicit(Half to NFloat)

Implicitly converts a Half value to its nearest representable native-sized floating-point value.

Implicit(Int16 to NFloat)

Implicitly converts a Int16 value to its nearest representable native-sized floating-point value.

Implicit(Int32 to NFloat)

Implicitly converts a Int32 value to its nearest representable native-sized floating-point value.

Implicit(Int64 to NFloat)

Implicitly converts a Int64 value to its nearest representable native-sized floating-point value.

Implicit(IntPtr to NFloat)

Implicitly converts a IntPtr value to its nearest representable native-sized floating-point value.

Implicit(NFloat to Double)

Implicitly converts a native-sized floating-point value to its nearest representable Double value.

Implicit(SByte to NFloat)

Implicitly converts a SByte value to its nearest representable native-sized floating-point value.

Implicit(Single to NFloat)

Implicitly converts a Single value to its nearest representable native-sized floating-point value.

Implicit(UInt16 to NFloat)

Implicitly converts a UInt16 value to its nearest representable native-sized floating-point value.

Implicit(UInt32 to NFloat)

Implicitly converts a UInt32 value to its nearest representable native-sized floating-point value.

Implicit(UInt64 to NFloat)

Implicitly converts a UInt64 value to its nearest representable native-sized floating-point value.

Implicit(UIntPtr to NFloat)

Implicitly converts a UIntPtr value to its nearest representable native-sized floating-point value.

Increment(NFloat)

Increments a value.

Inequality(NFloat, NFloat)

Compares two values to determine inequality.

LessThan(NFloat, NFloat)

Compares two values to determine which is less.

LessThanOrEqual(NFloat, NFloat)

Compares two values to determine which is less or equal.

Modulus(NFloat, NFloat)

Divides two values together to compute their remainder.

Multiply(NFloat, NFloat)

Multiplies two values together to compute their product.

Subtraction(NFloat, NFloat)

Subtracts two values to compute their difference.

UnaryNegation(NFloat)

Computes the unary negation of a value.

UnaryPlus(NFloat)

Computes the unary plus of a value.

Explicit Interface Implementations

IAdditionOperators<NFloat,NFloat,NFloat>.CheckedAddition(NFloat, NFloat)

Adds two values together to compute their sum.

IAdditiveIdentity<NFloat,NFloat>.AdditiveIdentity

Gets the additive identity of the current type.

IBinaryNumber<NFloat>.AllBitsSet

Gets an instance of the binary type in which all bits are set.

IBitwiseOperators<NFloat,NFloat,NFloat>.BitwiseAnd(NFloat, NFloat)

Computes the bitwise-and of two values.

IBitwiseOperators<NFloat,NFloat,NFloat>.BitwiseOr(NFloat, NFloat)

Computes the bitwise-or of two values.

IBitwiseOperators<NFloat,NFloat,NFloat>.ExclusiveOr(NFloat, NFloat)

Computes the exclusive-or of two values.

IBitwiseOperators<NFloat,NFloat,NFloat>.OnesComplement(NFloat)

Computes the ones-complement representation of a given value.

IDecrementOperators<NFloat>.CheckedDecrement(NFloat)

Decrements a value.

IDivisionOperators<NFloat,NFloat,NFloat>.CheckedDivision(NFloat, NFloat)

Divides two values to compute their quotient.

IFloatingPoint<NFloat>.GetExponentByteCount()

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

IFloatingPoint<NFloat>.GetExponentShortestBitLength()

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

IFloatingPoint<NFloat>.GetSignificandBitLength()

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

IFloatingPoint<NFloat>.GetSignificandByteCount()

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

IFloatingPoint<NFloat>.TryWriteExponentBigEndian(Span<Byte>, Int32)

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

IFloatingPoint<NFloat>.TryWriteExponentLittleEndian(Span<Byte>, Int32)

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

IFloatingPoint<NFloat>.TryWriteSignificandBigEndian(Span<Byte>, Int32)

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

IFloatingPoint<NFloat>.TryWriteSignificandLittleEndian(Span<Byte>, Int32)

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

IIncrementOperators<NFloat>.CheckedIncrement(NFloat)

Increments a value.

IMultiplicativeIdentity<NFloat,NFloat>.MultiplicativeIdentity

Gets the multiplicative identity of the current type.

IMultiplyOperators<NFloat,NFloat,NFloat>.CheckedMultiply(NFloat, NFloat)

Multiplies two values to compute their product.

INumberBase<NFloat>.IsCanonical(NFloat)

Determines if a value is in its canonical representation.

INumberBase<NFloat>.IsComplexNumber(NFloat)

Determines if a value represents a complex number.

INumberBase<NFloat>.IsImaginaryNumber(NFloat)

Determines if a value represents a pure imaginary number.

INumberBase<NFloat>.IsZero(NFloat)

Determines if a value is zero.

INumberBase<NFloat>.One

Gets the value 1 for the type.

INumberBase<NFloat>.Radix

Gets the radix, or base, for the type.

INumberBase<NFloat>.TryConvertFromChecked<TOther>(TOther, NFloat)
INumberBase<NFloat>.TryConvertFromSaturating<TOther>(TOther, NFloat)
INumberBase<NFloat>.TryConvertFromTruncating<TOther>(TOther, NFloat)
INumberBase<NFloat>.TryConvertToChecked<TOther>(NFloat, TOther)

Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.

INumberBase<NFloat>.TryConvertToSaturating<TOther>(NFloat, TOther)

Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.

INumberBase<NFloat>.TryConvertToTruncating<TOther>(NFloat, TOther)

Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.

INumberBase<NFloat>.Zero

Gets the value 0 for the type.

ISignedNumber<NFloat>.NegativeOne

Gets the value -1 for the type.

ISubtractionOperators<NFloat,NFloat,NFloat>.CheckedSubtraction(NFloat, NFloat)

Subtracts two values to compute their difference.

IUnaryNegationOperators<NFloat,NFloat>.CheckedUnaryNegation(NFloat)

Computes the checked unary negation of a value.

Applies to