NFloat 结构

定义

NFloat 是一种不可变值类型,表示与本机整数大小相同的浮动类型。 它旨在用作托管/非托管边界处的交换类型,以便在 32 位平台或 64 位平台上double(例如 Apple 提供的库中的 CGFloat 类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

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)
继承
NFloat
实现
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>

注解

它旨在用作托管/非托管边界上的交换类型,以便在 32 位平台或 64 位平台上double(例如 CGFloat Apple 提供的库中的类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

构造函数

NFloat(Double)

使用 64 位浮点值构造实例。

NFloat(Single)

使用 32 位浮点值构造实例。

属性

E

获取数学常量 e

Epsilon

表示大于零的最小正 NFloat 值。

MaxValue

表示 NFloat 的最大有限值。

MinValue

表示 NFloat 的最小有限值。

NaN

表示不是数字 (NaN) 的值。

NegativeInfinity

表示负无穷。

NegativeZero

获取一个值,该值表示负 zero

Pi

获取数学常量 pi

PositiveInfinity

表示正无穷。

Size

获取 NFloat 的大小(以字节为单位)。

Tau

获取数学常量 tau

Value

此实例的基础浮点值。

方法

Abs(NFloat)

计算值的绝对值。

Acos(NFloat)

计算值的反余弦值。

Acosh(NFloat)

计算值的双曲弧余弦值。

AcosPi(NFloat)

计算值的反余弦值,并将结果除以 pi

Asin(NFloat)

计算值的反正弦值。

Asinh(NFloat)

计算值的双曲弧正弦值。

AsinPi(NFloat)

计算值的反正弦值,并将结果 pi除以 。

Atan(NFloat)

计算值的反正切值。

Atan2(NFloat, NFloat)

计算两个值的商的反正切值。

Atan2Pi(NFloat, NFloat)

计算两个值的商的反正切值,并将结果除以 pi

Atanh(NFloat)

计算值的双曲反弧切值。

AtanPi(NFloat)

计算值的反正切值,并将结果除以 pi。

BitDecrement(NFloat)

将值递减为比较小于给定值的最小值。

BitIncrement(NFloat)

将值递增为与给定值相比较的最小值。

Cbrt(NFloat)

计算值的多维数据集根。

Ceiling(NFloat)

计算值的上限。

Clamp(NFloat, NFloat, NFloat)

将值固定为非独占最小值和最大值。

CompareTo(NFloat)

将此实例与指定的浮点数进行比较,并返回一个整数,指示此实例的值是小于、等于还是大于指定的浮点数的值。

CompareTo(Object)

将此实例与指定对象进行比较,并返回一个整数,该整数指示此实例的值是小于、等于还是大于指定对象的值。

CopySign(NFloat, NFloat)

将值的符号复制到另一个值的符号。

Cos(NFloat)

计算值的余弦值。

Cosh(NFloat)

计算值的双曲余弦值。

CosPi(NFloat)

计算已被 倍数乘的值 pi的余弦值。

CreateChecked<TOther>(TOther)

从值创建当前类型的实例,为超出当前类型可表示范围的任何值引发溢出异常。

CreateSaturating<TOther>(TOther)

从值创建当前类型的实例,使超出当前类型的可表示范围的任何值饱和。

CreateTruncating<TOther>(TOther)

从值创建当前类型的实例,截断当前类型可表示范围之外的任何值。

DegreesToRadians(NFloat)

将给定值从度转换为弧度。

Equals(NFloat)

返回一个值,该值指示此实例是否等于指定的 CLong 值。

Equals(Object)

返回一个值,该值指示此实例是否等于指定的对象。

Exp(NFloat)

提高 E 到给定功率的计算。

Exp10(NFloat)

提高 10 到给定功率的计算。

Exp10M1(NFloat)

10计算升至给定幂并减去一个。

Exp2(NFloat)

提高 2 到给定功率的计算。

Exp2M1(NFloat)

2计算升至给定幂并减去一个。

ExpM1(NFloat)

E计算升至给定幂并减去一个。

Floor(NFloat)

计算值下限。

FusedMultiplyAdd(NFloat, NFloat, NFloat)

计算三个值的融合乘加法。

GetHashCode()

返回此实例的哈希代码。

Hypot(NFloat, NFloat)

计算给定的两个值,表示直角三角形中较短边的长度的下限。

Ieee754Remainder(NFloat, NFloat)

计算 IEEE 754 指定的两个值的剩余部分。

ILogB(NFloat)

计算值的整数对数。

IsEvenInteger(NFloat)

确定值是否表示偶数整数。

IsFinite(NFloat)

确定指定值是否为有限值(零、不正常或正常)。

IsInfinity(NFloat)

确定指定的值是无限 (正无穷大还是负无穷大) 。

IsInteger(NFloat)

确定值是否表示整型数。

IsNaN(NFloat)

确定指定的值是否为 NaN (不是数字) 。

IsNegative(NFloat)

确定指定值是否为负值。

IsNegativeInfinity(NFloat)

确定指定的值是否为负无穷大。

IsNormal(NFloat)

确定指定值是否正常。

IsOddInteger(NFloat)

确定值是否表示奇数整数。

IsPositive(NFloat)

确定值是否为正值。

IsPositiveInfinity(NFloat)

确定指定的值是否为正无穷大。

IsPow2(NFloat)

确定值是否为 2 的幂。

IsRealNumber(NFloat)

确定值是否表示实数。

IsSubnormal(NFloat)

确定指定值是否不正常。

Lerp(NFloat, NFloat, NFloat)

根据给定权重在两个值之间执行线性内插。

Log(NFloat)

计算值的自然 (base-E 对数。

Log(NFloat, NFloat)

计算指定基数中某个值的对数。

Log10(NFloat)

计算值以 10 为底的对数。

Log10P1(NFloat)

计算值加 1 的底 10 对数。

Log2(NFloat)

计算值的 log2。

Log2P1(NFloat)

计算值加 1 的 base-2 对数。

LogP1(NFloat)

base-E 计算值加 1 的自然 () 对数。

Max(NFloat, NFloat)

将两个值与更大的计算进行比较。

MaxMagnitude(NFloat, NFloat)

将两个值与更大的计算进行比较。

MaxMagnitudeNumber(NFloat, NFloat)

将两个值进行比较,以计算其具有更大的数量级并返回另一个值(如果输入为 NaN)。

MaxNumber(NFloat, NFloat)

比较两个值以计算较大值,如果输入为 , NaN则返回另一个值。

Min(NFloat, NFloat)

将两个值与较小的计算进行比较。

MinMagnitude(NFloat, NFloat)

将两个值与较小的计算进行比较。

MinMagnitudeNumber(NFloat, NFloat)

将两个值进行比较,以计算其数量级较小并返回另一个值(如果输入为 NaN)。

MinNumber(NFloat, NFloat)

将两个值进行比较以计算较小的值,如果输入为 NaN,则返回另一个值。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

将 UTF-8 字符范围分析为值。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

将 UTF-8 字符范围分析为值。

Parse(ReadOnlySpan<Char>, IFormatProvider)

将字符范围分析为值。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

将包含指定样式和区域性特定格式的数字的字符串表示形式的字符范围转换为其等效的浮点数。

Parse(String)

将数字的字符串表示形式转换为其等效的浮点数。

Parse(String, IFormatProvider)

将指定区域性特定格式的数字的字符串表示形式转换为其等效的浮点数。

Parse(String, NumberStyles)

将指定样式的数字的字符串表示形式转换为其等效的浮点数。

Parse(String, NumberStyles, IFormatProvider)

将指定样式和区域性特定格式的数字的字符串表示形式转换为其等效的浮点数。

Pow(NFloat, NFloat)

计算提高到给定幂的值。

RadiansToDegrees(NFloat)

将给定值从弧度转换为度。

ReciprocalEstimate(NFloat)

计算值的倒数估计值。

ReciprocalSqrtEstimate(NFloat)

计算值的倒数平方根的估计值。

RootN(NFloat, Int32)

计算值的第 n 个根。

Round(NFloat)

使用默认舍入模式 () ToEven 将值舍入为最接近的整数。

Round(NFloat, Int32)

使用默认舍入模式 () ToEven 将值舍入到指定的小数位数。

Round(NFloat, Int32, MidpointRounding)

使用默认舍入模式 () ToEven 将值舍入到指定的小数位数。

Round(NFloat, MidpointRounding)

使用指定的舍入模式将值舍入为最接近的整数。

ScaleB(NFloat, Int32)

计算值及其基基基数的乘积,以达到指定幂。

Sign(NFloat)

计算值的符号。

Sin(NFloat)

计算值的正弦值。

SinCos(NFloat)

计算值的正弦值和余弦值。

SinCosPi(NFloat)

计算值的正弦值和余弦值。

Sinh(NFloat)

计算值的双曲正弦值。

SinPi(NFloat)

计算已乘以 pi的值的正弦值。

Sqrt(NFloat)

计算值的平方根。

Tan(NFloat)

计算值的正切值。

Tanh(NFloat)

计算值的双曲正切值。

TanPi(NFloat)

计算已乘以 pi的值的正切值。

ToString()

将此实例的数值转换为其等效的字符串表示形式。

ToString(IFormatProvider)

使用指定的区域性特定格式信息,将此实例的数值转换为它的等效字符串表示形式。

ToString(String)

使用指定的格式将此实例的数值转换为它的等效字符串表示形式。

ToString(String, IFormatProvider)

使用指定的格式和区域性特定格式信息,将此实例的数值转换为它的等效字符串表示形式。

Truncate(NFloat)

截断值。

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

尝试将当前实例的值格式化为 UTF-8,将其设置为提供的字节范围。

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

尝试将当前实例的值格式化为提供的字符范围。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, NFloat)

尝试将 UTF-8 字符范围解析为值。

TryParse(ReadOnlySpan<Byte>, NFloat)

尝试将包含数字字符串表示形式的 UTF-8 字符范围转换为其等效的浮点数。

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

尝试将 UTF-8 字符范围解析为值。

TryParse(ReadOnlySpan<Char>, IFormatProvider, NFloat)

尝试将字符范围解析为值。

TryParse(ReadOnlySpan<Char>, NFloat)

尝试将包含数字字符串表示形式的字符范围转换为其等效的浮点数。

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

尝试将包含指定样式和区域性特定格式的数字的字符串表示形式的字符范围转换为其等效的浮点数。

TryParse(String, IFormatProvider, NFloat)

尝试将字符串解析为值。

TryParse(String, NFloat)

尝试将数字的字符串表示形式转换为其等效的浮点数。

TryParse(String, NumberStyles, IFormatProvider, NFloat)

尝试将指定样式和区域性特定格式的数字的字符串表示形式转换为其等效的浮点数。

运算符

Addition(NFloat, NFloat)

将两个值相加以计算其和。

CheckedExplicit(NFloat)

NFloat 是一种不可变值类型,表示与本机整数大小相同的浮动类型。 它旨在用作托管/非托管边界处的交换类型,以便在 32 位平台或 64 位平台上double(例如 Apple 提供的库中的 CGFloat 类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

Decrement(NFloat)

递减值。

Division(NFloat, NFloat)

将两个值相除以计算其商。

Equality(NFloat, NFloat)

比较两个值以确定相等性。

Explicit(Decimal to NFloat)

将值 Decimal 显式转换为其最接近的可表示本机大小的浮点值。

Explicit(Double to NFloat)

将值 Double 显式转换为其最接近的可表示本机大小的浮点值。

Explicit(Int128 to NFloat)

将 显式转换为 Int128 其最接近的可表示本机大小的浮点值。

Explicit(NFloat to Byte)

将本机大小的浮点值显式转换为其最接近的可 Byte 表示值。

Explicit(NFloat to Char)

将本机大小的浮点值显式转换为其最接近的可 Char 表示值。

Explicit(NFloat to Decimal)

将本机大小的浮点值显式转换为其最接近的可 Decimal 表示值。

Explicit(NFloat to Half)

将本机大小的浮点值显式转换为其最接近的可 Half 表示值。

Explicit(NFloat to Int128)

将本机大小的浮点值显式转换为其最接近的可 Int128 表示值。

Explicit(NFloat to Int16)

将本机大小的浮点值显式转换为其最接近的可 Int16 表示值。

Explicit(NFloat to Int32)

将本机大小的浮点值显式转换为其最接近的可 Int32 表示值。

Explicit(NFloat to Int64)

将本机大小的浮点值显式转换为其最接近的可 Int64 表示值。

Explicit(NFloat to IntPtr)

将本机大小的浮点值显式转换为其最接近的可 IntPtr 表示值。

Explicit(NFloat to SByte)

将本机大小的浮点值显式转换为其最接近的可 SByte 表示值。

Explicit(NFloat to Single)

将本机大小的浮点值显式转换为其最接近的可 Single 表示值。

Explicit(NFloat to UInt128)

将本机大小的浮点值显式转换为其最接近的可 UInt128 表示值。

Explicit(NFloat to UInt16)

将本机大小的浮点值显式转换为其最接近的可 UInt16 表示值。

Explicit(NFloat to UInt32)

将本机大小的浮点值显式转换为其最接近的可 UInt32 表示值。

Explicit(NFloat to UInt64)

将本机大小的浮点值显式转换为其最接近的可 UInt64 表示值。

Explicit(NFloat to UIntPtr)

将本机大小的浮点值显式转换为其最接近的可 UIntPtr 表示值。

Explicit(UInt128 to NFloat)

显式转换为 UInt128 其最接近的可表示本机大小的浮点值。

GreaterThan(NFloat, NFloat)

比较两个值以确定哪个值更大。

GreaterThanOrEqual(NFloat, NFloat)

比较两个值以确定哪个值大于或等于。

Implicit(Byte to NFloat)

将值 Byte 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Char to NFloat)

将值 Char 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Half to NFloat)

将值 Half 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Int16 to NFloat)

将值 Int16 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Int32 to NFloat)

将值 Int32 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Int64 to NFloat)

将值 Int64 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(IntPtr to NFloat)

将值 IntPtr 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(NFloat to Double)

将本机大小的浮点值隐式转换为其最接近的可 Double 表示值。

Implicit(SByte to NFloat)

将值 SByte 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(Single to NFloat)

将值 Single 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(UInt16 to NFloat)

将值 UInt16 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(UInt32 to NFloat)

将值 UInt32 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(UInt64 to NFloat)

将值 UInt64 隐式转换为其最接近的可表示本机大小的浮点值。

Implicit(UIntPtr to NFloat)

将值 UIntPtr 隐式转换为其最接近的可表示本机大小的浮点值。

Increment(NFloat)

递增值。

Inequality(NFloat, NFloat)

比较两个值以确定不相等性。

LessThan(NFloat, NFloat)

比较两个值以确定哪个值更少。

LessThanOrEqual(NFloat, NFloat)

比较两个值以确定哪个值小于或等于。

Modulus(NFloat, NFloat)

将两个值相除以计算其余数。

Multiply(NFloat, NFloat)

将两个值相乘以计算其乘积。

Subtraction(NFloat, NFloat)

减去两个值以计算其差值。

UnaryNegation(NFloat)

计算值的一元求反值。

UnaryPlus(NFloat)

计算值的一元加号。

显式接口实现

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

将两个值相加以计算其和。

IAdditiveIdentity<NFloat,NFloat>.AdditiveIdentity

获取当前类型的加法标识。

IBinaryNumber<NFloat>.AllBitsSet

获取设置所有位的二进制类型的实例。

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

计算两个值的按位和 。

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

计算两个值的按位或 。

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

计算两个值的独占或 。

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

计算给定值的补数表示形式。

IDecrementOperators<NFloat>.CheckedDecrement(NFloat)

递减值。

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

将两个值相除以计算其商。

IFloatingPoint<NFloat>.GetExponentByteCount()

获取将作为 的一部分写入的 TryWriteExponentLittleEndian(Span<Byte>, Int32)字节数。

IFloatingPoint<NFloat>.GetExponentShortestBitLength()

获取当前指数的最短二进制补数表示形式的长度(以位为单位)。

IFloatingPoint<NFloat>.GetSignificandBitLength()

获取当前有效值的长度(以位为单位)。

IFloatingPoint<NFloat>.GetSignificandByteCount()

获取将作为 的一部分写入的 TryWriteSignificandLittleEndian(Span<Byte>, Int32)字节数。

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

尝试以 big-endian 格式将当前指数写入给定范围。

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

尝试以 little-endian 格式将当前指数写入给定范围。

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

尝试以 big-endian 格式将当前有效值写入给定范围。

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

尝试以 little-endian 格式将当前有效值写入给定范围。

IIncrementOperators<NFloat>.CheckedIncrement(NFloat)

递增值。

IMultiplicativeIdentity<NFloat,NFloat>.MultiplicativeIdentity

获取当前类型的乘法标识。

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

将两个值相乘以计算其乘积。

INumberBase<NFloat>.IsCanonical(NFloat)

确定值是否在其规范表示形式中。

INumberBase<NFloat>.IsComplexNumber(NFloat)

确定值是否表示复数。

INumberBase<NFloat>.IsImaginaryNumber(NFloat)

确定值是否表示纯虚数。

INumberBase<NFloat>.IsZero(NFloat)

确定值是否为零。

INumberBase<NFloat>.One

获取类型的值 1

INumberBase<NFloat>.Radix

获取类型的基数。

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

NFloat 是一种不可变值类型,表示与本机整数大小相同的浮动类型。 它旨在用作托管/非托管边界处的交换类型,以便在 32 位平台或 64 位平台上double(例如 Apple 提供的库中的 CGFloat 类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

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

NFloat 是一种不可变值类型,表示与本机整数大小相同的浮动类型。 它旨在用作托管/非托管边界处的交换类型,以便在 32 位平台或 64 位平台上double(例如 Apple 提供的库中的 CGFloat 类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

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

NFloat 是一种不可变值类型,表示与本机整数大小相同的浮动类型。 它旨在用作托管/非托管边界处的交换类型,以便在 32 位平台或 64 位平台上double(例如 Apple 提供的库中的 CGFloat 类型)上使用 C 或 C++ float 的类型别名的托管代码非托管 API 中准确表示。

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

尝试将当前类型的实例转换为另一种类型,从而对超出当前类型的可表示范围的任何值引发溢出异常。

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

尝试将当前类型的实例转换为另一种类型,使当前类型的可表示范围之外的任何值饱和。

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

尝试将当前类型的实例转换为另一种类型,截断当前类型的可表示范围之外的任何值。

INumberBase<NFloat>.Zero

获取类型的值 0

ISignedNumber<NFloat>.NegativeOne

获取类型的值 -1

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

减去两个值以计算其差值。

IUnaryNegationOperators<NFloat,NFloat>.CheckedUnaryNegation(NFloat)

计算值的已检查一元求反值。

适用于