NFloat 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
NFloat 是一种不可变值类型,表示与本机整数大小相同的浮点类型。
它旨在用作托管/非托管边界上的交换类型,以在托管代码非托管 API 中准确表示,这些 API 在 32 位平台上使用 C 或C++的 float
,或在 64 位平台上 double
,例如 Apple 提供的库中的 CGFloat 类型。
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)
- 继承
- 实现
-
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>
注解
它旨在用作托管/非托管边界上的交换类型,以在托管代码非托管 API 中准确表示,这些 API 在 32 位平台上使用 C 或C++float
的类型别名,或在 64 位平台上 double
,例如 Apple 提供的库中的 CGFloat
类型。
构造函数
NFloat(Double) |
从 64 位浮点值构造实例。 |
NFloat(Single) |
从 32 位浮点值构造实例。 |
属性
E |
获取数学常量 |
Epsilon |
表示大于零的最小正 NFloat 值。 |
MaxValue |
表示 NFloat 的最大有限值。 |
MinValue |
表示 NFloat 的最小有限值。 |
NaN |
表示不是数字的值(NaN)。 |
NegativeInfinity |
表示负无穷大。 |
NegativeZero |
获取表示负 |
Pi |
获取数学常量 |
PositiveInfinity |
表示正无穷大。 |
Size |
获取 NFloat 的大小(以字节为单位)。 |
Tau |
获取数学常量 |
Value |
此实例的基础浮点值。 |