Double 結構

定義

表示雙精度浮點數。

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

備註

如需此 API 的詳細資訊,請參閱 Double 補充 API 備註

欄位

E

代表常數 e 所指定的自然對數基底。

Epsilon

代表大於零的最小正 Double 值。 這個欄位為常數。

MaxValue

表示 Double 最大的可能值。 這個欄位為常數。

MinValue

表示 Double 最小的可能值。 這個欄位為常數。

NaN

代表不是數字 (NaN) 的值。 這個欄位為常數。

NegativeInfinity

表示負無限大。 這個欄位為常數。

NegativeZero

表示負數零 (-0) 。

Pi

代表圓周率,由常數 π 指定。

PositiveInfinity

表示正無限大。 這個欄位為常數。

Tau

代表單一回合中的弧度數目,由常數 τ 指定。

方法

Abs(Double)

計算值的絕對值。

Acos(Double)

計算值的反餘弦值。

Acosh(Double)

計算值的雙曲反餘弦值。

AcosPi(Double)

計算值的反餘弦值,並將結果除以 pi

Asin(Double)

計算值的反正弦值。

Asinh(Double)

計算值的雙曲反正弦值。

AsinPi(Double)

計算值的反正弦值,並將結果除以 pi

Atan(Double)

計算值的反正切值。

Atan2(Double, Double)

計算兩個值商的反正切值。

Atan2Pi(Double, Double)

計算兩個值商的反正切值,並將結果除以 pi

Atanh(Double)

計算值的雙曲反正切值。

AtanPi(Double)

計算值的反正切值,並將結果除以pi。

BitDecrement(Double)

將值遞減為小於指定值的最小值。

BitIncrement(Double)

將值遞增至比較大於指定值的最小值。

Cbrt(Double)

計算值的 Cube 根目錄。

Ceiling(Double)

計算值的上限。

Clamp(Double, Double, Double)

將值限製為內含最小值和最大值。

CompareTo(Double)

比較這個執行個體與雙精確度的浮點數值,並且傳回一個整數,指出這個執行個體的值是小於、等於或大於特定的雙精確度浮點數值。

CompareTo(Object)

比較這個執行個體與特定物件,並且傳回一個整數,指出這個執行個體的值是小於、等於或大於特定物件的值。

CopySign(Double, Double)

將值的正負號複製到另一個值的正負號。

Cos(Double)

計算值的餘弦值。

Cosh(Double)

計算值的雙曲餘弦值。

CosPi(Double)

計算 已由 pi多重的值餘弦值。

CreateChecked<TOther>(TOther)

從值建立目前類型的實例,針對落在目前類型可表示範圍以外的任何值擲回溢位例外狀況。

CreateSaturating<TOther>(TOther)

從值建立目前型別的實例,使落在目前類型可表示範圍以外的任何值飽和。

CreateTruncating<TOther>(TOther)

從值建立目前型別的實例,截斷落在目前類型可表示範圍以外的任何值。

DegreesToRadians(Double)

將指定的值從度轉換為弧度。

Equals(Double)

傳回值,該值表示這個執行個體和指定的 Double 物件是否代表相同值。

Equals(Object)

傳回值,該值表示這個執行個體是否和指定的物件相等。

Exp(Double)

E計算會引發至指定乘冪。

Exp10(Double)

10計算會引發至指定乘冪。

Exp10M1(Double)

10計算會引發至指定的乘冪,並減去一個。

Exp2(Double)

2計算會引發至指定乘冪。

Exp2M1(Double)

2計算會引發至指定的乘冪,並減去一個。

ExpM1(Double)

E計算會引發至指定的乘冪,並減去一個。

Floor(Double)

計算值的底板。

FusedMultiplyAdd(Double, Double, Double)

計算三個值的融合乘法。

GetHashCode()

傳回這個執行個體的雜湊碼。

GetTypeCode()

傳回實值類型 TypeCodeDouble

Hypot(Double, Double)

計算假設的兩個值,代表右角三角形中較短側邊的長度。

Ieee754Remainder(Double, Double)

計算 IEEE 754 所指定之兩個值的其餘部分。

ILogB(Double)

計算值的整數對數。

IsEvenInteger(Double)

判斷值是否代表偶數整數。

IsFinite(Double)

判斷指定的值是否為有限 (零、偏低或一般)。

IsInfinity(Double)

傳回值,指出指定的數字是否計算結果為負或正的無限大。

IsInteger(Double)

判斷值是否代表整數值。

IsNaN(Double)

傳回值,該值表示指定的值是否不是數字 (NaN)。

IsNegative(Double)

判斷指定的值是否為負數。

IsNegativeInfinity(Double)

傳回值,指出指定的數字是否計算結果為負的無限大。

IsNormal(Double)

判斷指定的值是否為正常。

IsOddInteger(Double)

判斷值是否代表奇數整數。

IsPositive(Double)

判斷值是否為正數。

IsPositiveInfinity(Double)

傳回值,指出指定數字是否計算結果為正的無限大。

IsPow2(Double)

判斷值是否為 2 的乘冪。

IsRealNumber(Double)

判斷值是否代表實數。

IsSubnormal(Double)

判斷指定的值是否為偏低。

Lerp(Double, Double, Double)

根據指定的權數,在兩個值之間執行線性插補。

Log(Double)

計算值的自然 (base-E 對數。

Log(Double, Double)

計算指定基底中值的對數。

Log10(Double)

計算值的基底 10 對數。

Log10P1(Double)

計算值加上 10 對數的基底對數。

Log2(Double)

計算值的log2。

Log2P1(Double)

計算值加一的基底 2 對數。

LogP1(Double)

計算值加一) 對數的自然 (base-E

Max(Double, Double)

比較兩個值與大於的計算。

MaxMagnitude(Double, Double)

比較兩個值與大於的計算。

MaxMagnitudeNumber(Double, Double)

比較兩個值與具有較大大小的計算,如果輸入為 NaN,則會傳回另一個值。

MaxNumber(Double, Double)

比較兩個值與計算,如果輸入為 NaN,則會傳回另一個值。

Min(Double, Double)

比較兩個值與比較較少的計算。

MinMagnitude(Double, Double)

比較兩個值與比較較少的計算。

MinMagnitudeNumber(Double, Double)

比較兩個值與計算,其大小較小,如果輸入為 NaN,則會傳回另一個值。

MinNumber(Double, Double)

比較兩個值與計算,如果輸入 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(Double, Double)

計算提升至指定乘冪的值。

RadiansToDegrees(Double)

將指定的值從弧度轉換為度。

ReciprocalEstimate(Double)

計算值的倒數估計值。

ReciprocalSqrtEstimate(Double)

計算值的倒數平方根估計值。

RootN(Double, Int32)

計算值的第 n 個根。

Round(Double)

使用預設進位模式將值四捨五入為最接近的整數, (ToEven) 。

Round(Double, Int32)

使用預設排位模式將值四捨五入為指定的小數位數, () ToEven

Round(Double, Int32, MidpointRounding)

使用預設排位模式將值四捨五入為指定的小數位數, () ToEven

Round(Double, MidpointRounding)

使用指定的進位模式,將值四捨五入為最接近的整數。

ScaleB(Double, Int32)

計算值乘積及其基底基底乘以指定乘冪的乘積。

Sign(Double)

計算值的符號。

Sin(Double)

計算值的正弦值。

SinCos(Double)

計算值的正弦和餘弦值。

SinCosPi(Double)

計算值的正弦和餘弦值。

Sinh(Double)

計算值的雙曲正弦值。

SinPi(Double)

計算乘以 pi的值正弦值。

Sqrt(Double)

計算值的平方根。

Tan(Double)

計算值的正切值。

Tanh(Double)

計算值的雙曲正切值。

TanPi(Double)

計算 已由 pi多重的值正切值。

ToString()

將這個執行個體的數值轉換為其相等字串表示。

ToString(IFormatProvider)

使用指定的特定文化特性格式資訊,將這個執行個體的數值轉換成它的相等字串表示。

ToString(String)

使用指定格式,將這個執行個體的數值轉換成它的相等字串表示。

ToString(String, IFormatProvider)

使用指定的格式和特定文化特性格式資訊,將這個執行個體的數值轉換成它的相等字串表示。

Truncate(Double)

截斷值。

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

嘗試將目前實例的值格式化為UTF-8到提供的位元組範圍。

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

嘗試將目前雙精確度浮點數執行個體的值格式化為所提供的字元範圍。

TryParse(ReadOnlySpan<Byte>, Double)

嘗試將包含數位字串表示的UTF-8字元範圍轉換為對等的雙精確度浮點數。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Double)

嘗試將UTF-8字元的範圍剖析為值。

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

嘗試將UTF-8字元的範圍剖析為值。

TryParse(ReadOnlySpan<Char>, Double)

將數字的範圍表示 (使用指定樣式和特定文化特性格式) 轉換為其對等的雙精確度浮點數。 傳回值,該值指出轉換成功或失敗。

TryParse(ReadOnlySpan<Char>, IFormatProvider, Double)

嘗試將字元範圍剖析成值。

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

將包含數字字串表示 (使用指定樣式和特定文化特性格式) 的字元範圍轉換為其對等的雙精確度浮點數。 傳回值,該值指出轉換成功或失敗。

TryParse(String, Double)

將數字的字串表示轉換為其相等的雙精確度浮點數。 傳回值,該值指出轉換成功或失敗。

TryParse(String, IFormatProvider, Double)

嘗試將字串剖析成值。

TryParse(String, NumberStyles, IFormatProvider, Double)

使用指定樣式和特定文化特性格式,將數字的字串表示轉換為其相等的雙精確度浮點數。 傳回值,該值指出轉換成功或失敗。

運算子

Equality(Double, Double)

傳回值,該值表示兩個指定的 Double 值是否相等。

GreaterThan(Double, Double)

傳回值,該值表示指定的 Double 值是否大於另一個指定的 Double 值。

GreaterThanOrEqual(Double, Double)

傳回值,該值表示指定的 Double 值是否大於或等於另一個指定的 Double 值。

Inequality(Double, Double)

傳回值,該值表示兩個指定的 Double 值是否不相等。

LessThan(Double, Double)

傳回值,該值表示指定的 Double 值是否小於另一個指定的 Double 值。

LessThanOrEqual(Double, Double)

傳回值,該值表示指定的 Double 值是否小於或等於另一個指定的 Double 值。

明確介面實作

IAdditionOperators<Double,Double,Double>.Addition(Double, Double)

將兩個值相加以計算其總和。

IAdditiveIdentity<Double,Double>.AdditiveIdentity

取得目前型別的加法識別。

IBinaryNumber<Double>.AllBitsSet

取得已設定所有位的二進位型別實例。

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

計算兩個值的位和 。

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

計算兩個值的位或 。

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

計算兩個值的獨佔或兩個值。

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

計算指定值的一補碼表示法。

IComparable.CompareTo(Object)

將目前的執行個體與相同類型的另一個物件相比較,並傳回整數,這個整數表示目前的執行個體在排序次序中,位於另一個物件之前、之後或相同位置。

IConvertible.GetTypeCode()

傳回這個執行個體的 TypeCode

IConvertible.ToBoolean(IFormatProvider)

如需這個成員的說明,請參閱 ToBoolean(IFormatProvider)

IConvertible.ToByte(IFormatProvider)

如需這個成員的說明,請參閱 ToByte(IFormatProvider)

IConvertible.ToChar(IFormatProvider)

不支援此轉換。 嘗試使用這個方法會擲回 InvalidCastException

IConvertible.ToDateTime(IFormatProvider)

不支援此轉換。 嘗試使用這個方法會擲回 InvalidCastException

IConvertible.ToDecimal(IFormatProvider)

如需這個成員的說明,請參閱 ToDecimal(IFormatProvider)

IConvertible.ToDouble(IFormatProvider)

如需這個成員的說明,請參閱 ToDouble(IFormatProvider)

IConvertible.ToInt16(IFormatProvider)

如需這個成員的說明,請參閱 ToInt16(IFormatProvider)

IConvertible.ToInt32(IFormatProvider)

如需這個成員的說明,請參閱 ToInt32(IFormatProvider)

IConvertible.ToInt64(IFormatProvider)

如需這個成員的說明,請參閱 ToInt64(IFormatProvider)

IConvertible.ToSByte(IFormatProvider)

如需這個成員的說明,請參閱 ToSByte(IFormatProvider)

IConvertible.ToSingle(IFormatProvider)

如需這個成員的說明,請參閱 ToSingle(IFormatProvider)

IConvertible.ToType(Type, IFormatProvider)

如需這個成員的說明,請參閱 ToType(Type, IFormatProvider)

IConvertible.ToUInt16(IFormatProvider)

如需這個成員的說明,請參閱 ToUInt16(IFormatProvider)

IConvertible.ToUInt32(IFormatProvider)

如需這個成員的說明,請參閱 ToUInt32(IFormatProvider)

IConvertible.ToUInt64(IFormatProvider)

如需這個成員的說明,請參閱 ToUInt64(IFormatProvider)

IDecrementOperators<Double>.Decrement(Double)

遞減值。

IDivisionOperators<Double,Double,Double>.Division(Double, Double)

將一個值除以計算其商數。

IFloatingPoint<Double>.GetExponentByteCount()

取得將寫入為的 TryWriteExponentLittleEndian(Span<Byte>, Int32)位元元組數目。

IFloatingPoint<Double>.GetExponentShortestBitLength()

取得目前指數之最短兩個補碼表示法的長度,以位為單位。

IFloatingPoint<Double>.GetSignificandBitLength()

取得目前符號的長度,以位為單位。

IFloatingPoint<Double>.GetSignificandByteCount()

取得將寫入為的 TryWriteSignificandLittleEndian(Span<Byte>, Int32)位元元組數目。

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

嘗試將目前的指數以大到尾格式寫入指定的範圍。

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

嘗試以小到尾格式將目前的指數寫入指定的範圍。

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

嘗試以大端格式將目前的符號寫入指定的範圍。

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

嘗試以小到小到大的格式,將目前的符號寫入指定的範圍。

IFloatingPointConstants<Double>.E

取得數學常數 e

IFloatingPointConstants<Double>.Pi

取得數學常數 pi

IFloatingPointConstants<Double>.Tau

取得數學常數 tau

IFloatingPointIeee754<Double>.Epsilon

取得最小值,以便加入至 0 不會產生 0的 。

IFloatingPointIeee754<Double>.NaN

取得表示 NaN的值。

IFloatingPointIeee754<Double>.NegativeInfinity

取得值,表示負值 infinity

IFloatingPointIeee754<Double>.NegativeZero

取得值,表示負值 zero

IFloatingPointIeee754<Double>.PositiveInfinity

取得值,表示正 infinity

IIncrementOperators<Double>.Increment(Double)

遞增值。

IMinMaxValue<Double>.MaxValue

取得目前型別的最大值。

IMinMaxValue<Double>.MinValue

取得目前型別的最小值。

IModulusOperators<Double,Double,Double>.Modulus(Double, Double)

將兩個值相除以計算其模數或餘數。

IMultiplicativeIdentity<Double,Double>.MultiplicativeIdentity

取得目前型別的乘法識別。

IMultiplyOperators<Double,Double,Double>.Multiply(Double, Double)

將兩個值相乘以計算其乘積。

INumberBase<Double>.IsCanonical(Double)

判斷值是否在其標準表示法中。

INumberBase<Double>.IsComplexNumber(Double)

判斷值是否代表複數。

INumberBase<Double>.IsImaginaryNumber(Double)

判斷值是否代表純虛數。

INumberBase<Double>.IsZero(Double)

判斷值是否為零。

INumberBase<Double>.One

取得型別的值 1

INumberBase<Double>.Radix

取得類型的基數或基底。

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

表示雙精度浮點數。

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

表示雙精度浮點數。

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

表示雙精度浮點數。

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

嘗試將目前類型的實例轉換成另一個類型,針對落在目前類型可表示範圍以外的任何值擲回溢位例外狀況。

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

嘗試將目前類型的實例轉換成另一種類型,使落在目前類型可表示範圍以外的任何值飽和。

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

嘗試將目前類型的實例轉換成另一個類型,截斷落在目前類型可表示範圍以外的任何值。

INumberBase<Double>.Zero

取得型別的值 0

ISignedNumber<Double>.NegativeOne

取得型別的值 -1

ISubtractionOperators<Double,Double,Double>.Subtraction(Double, Double)

減去兩個值來計算其差異。

IUnaryNegationOperators<Double,Double>.UnaryNegation(Double)

計算值的一元負數。

IUnaryPlusOperators<Double,Double>.UnaryPlus(Double)

計算值的一元加號。

適用於

執行緒安全性

此類型的所有成員都是安全線程。 看似修改實例狀態的成員,實際上會傳回以新值初始化的新實例。 如同任何其他類型,讀取和寫入包含此類型實例的共用變數必須受到鎖定保護,以確保線程安全。

另請參閱