Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Double Struct Reference

Public Member Functions

int CompareTo (object? value)
 
int CompareTo (double value)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
bool Equals (double obj)
 
override int GetHashCode ()
 
override string ToString ()
 
string ToString (string? format)
 
string ToString (IFormatProvider? provider)
 
string ToString (string? format, IFormatProvider? provider)
 
bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format=default(ReadOnlySpan< char >), IFormatProvider? provider=null)
 
TypeCode GetTypeCode ()
 
bool IConvertible. ToBoolean (IFormatProvider provider)
 
char IConvertible. ToChar (IFormatProvider provider)
 
sbyte IConvertible. ToSByte (IFormatProvider provider)
 
byte IConvertible. ToByte (IFormatProvider provider)
 
short IConvertible. ToInt16 (IFormatProvider provider)
 
ushort IConvertible. ToUInt16 (IFormatProvider provider)
 
int IConvertible. ToInt32 (IFormatProvider provider)
 
uint IConvertible. ToUInt32 (IFormatProvider provider)
 
long IConvertible. ToInt64 (IFormatProvider provider)
 
ulong IConvertible. ToUInt64 (IFormatProvider provider)
 
float IConvertible. ToSingle (IFormatProvider provider)
 
double IConvertible. ToDouble (IFormatProvider provider)
 
decimal IConvertible. ToDecimal (IFormatProvider provider)
 
DateTime IConvertible. ToDateTime (IFormatProvider provider)
 
object IConvertible. ToType (Type type, IFormatProvider provider)
 
int CompareTo (T? other)
 
bool ToBoolean (IFormatProvider? provider)
 
char ToChar (IFormatProvider? provider)
 
sbyte ToSByte (IFormatProvider? provider)
 
byte ToByte (IFormatProvider? provider)
 
short ToInt16 (IFormatProvider? provider)
 
ushort ToUInt16 (IFormatProvider? provider)
 
int ToInt32 (IFormatProvider? provider)
 
uint ToUInt32 (IFormatProvider? provider)
 
long ToInt64 (IFormatProvider? provider)
 
ulong ToUInt64 (IFormatProvider? provider)
 
float ToSingle (IFormatProvider? provider)
 
double ToDouble (IFormatProvider? provider)
 
decimal ToDecimal (IFormatProvider? provider)
 
DateTime ToDateTime (IFormatProvider? provider)
 
object ToType (Type conversionType, IFormatProvider? provider)
 
int CompareTo (T? other)
 
bool Equals (T? other)
 

Static Public Member Functions

static bool IsFinite (double d)
 
static bool IsInfinity (double d)
 
static bool IsNaN (double d)
 
static bool IsNegative (double d)
 
static bool IsNegativeInfinity (double d)
 
static bool IsNormal (double d)
 
static bool IsPositiveInfinity (double d)
 
static bool IsSubnormal (double d)
 
static bool operator== (double left, double right)
 
static bool operator!= (double left, double right)
 
static bool operator< (double left, double right)
 
static bool operator> (double left, double right)
 
static bool operator<= (double left, double right)
 
static bool operator>= (double left, double right)
 
static double Parse (string s)
 
static double Parse (string s, NumberStyles style)
 
static double Parse (string s, IFormatProvider? provider)
 
static double Parse (string s, NumberStyles style, IFormatProvider? provider)
 
static double Parse (ReadOnlySpan< char > s, NumberStyles style=NumberStyles.Float|NumberStyles.AllowThousands, IFormatProvider? provider=null)
 
static bool TryParse ([NotNullWhen(true)] string? s, out double result)
 
static bool TryParse (ReadOnlySpan< char > s, out double result)
 
static bool TryParse ([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out double result)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out double result)
 
static double IAdditionOperators< double, double, double >. operator+ (double left, double right)
 
static bool IBinaryNumber< double >. IsPow2 (double value)
 
static double IBinaryNumber< double >. Log2 (double value)
 
static double IBitwiseOperators< double, double, double >. operator& (double left, double right)
 
static double IBitwiseOperators< double, double, double >. operator| (double left, double right)
 
static double IBitwiseOperators< double, double, double >. operator^ (double left, double right)
 
static double IBitwiseOperators< double, double, double >. operator~ (double value)
 
static bool IComparisonOperators< double, double >. operator< (double left, double right)
 
static bool IComparisonOperators< double, double >. operator<= (double left, double right)
 
static bool IComparisonOperators< double, double >. operator> (double left, double right)
 
static bool IComparisonOperators< double, double >. operator>= (double left, double right)
 
static double IDecrementOperators< double >. operator-- (double value)
 
static double IDivisionOperators< double, double, double >. operator/ (double left, double right)
 
static bool IEqualityOperators< double, double >. operator== (double left, double right)
 
static bool IEqualityOperators< double, double >. operator!= (double left, double right)
 
static double IFloatingPoint< double >. Acos (double x)
 
static double IFloatingPoint< double >. Acosh (double x)
 
static double IFloatingPoint< double >. Asin (double x)
 
static double IFloatingPoint< double >. Asinh (double x)
 
static double IFloatingPoint< double >. Atan (double x)
 
static double IFloatingPoint< double >. Atan2 (double y, double x)
 
static double IFloatingPoint< double >. Atanh (double x)
 
static double IFloatingPoint< double >. BitIncrement (double x)
 
static double IFloatingPoint< double >. BitDecrement (double x)
 
static double IFloatingPoint< double >. Cbrt (double x)
 
static double IFloatingPoint< double >. Ceiling (double x)
 
static double IFloatingPoint< double >. CopySign (double x, double y)
 
static double IFloatingPoint< double >. Cos (double x)
 
static double IFloatingPoint< double >. Cosh (double x)
 
static double IFloatingPoint< double >. Exp (double x)
 
static double IFloatingPoint< double >. Floor (double x)
 
static double IFloatingPoint< double >. FusedMultiplyAdd (double left, double right, double addend)
 
static double IFloatingPoint< double >. IEEERemainder (double left, double right)
 
static TInteger IFloatingPoint< double >. ILogB< TInteger > (double x)
 
static double IFloatingPoint< double >. Log (double x)
 
static double IFloatingPoint< double >. Log (double x, double newBase)
 
static double IFloatingPoint< double >. Log2 (double x)
 
static double IFloatingPoint< double >. Log10 (double x)
 
static double IFloatingPoint< double >. MaxMagnitude (double x, double y)
 
static double IFloatingPoint< double >. MinMagnitude (double x, double y)
 
static double IFloatingPoint< double >. Pow (double x, double y)
 
static double IFloatingPoint< double >. Round (double x)
 
static double IFloatingPoint< double >. Round< TInteger > (double x, TInteger digits)
 
static double IFloatingPoint< double >. Round (double x, MidpointRounding mode)
 
static double IFloatingPoint< double >. Round< TInteger > (double x, TInteger digits, MidpointRounding mode)
 
static double IFloatingPoint< double >. ScaleB< TInteger > (double x, TInteger n)
 
static double IFloatingPoint< double >. Sin (double x)
 
static double IFloatingPoint< double >. Sinh (double x)
 
static double IFloatingPoint< double >. Sqrt (double x)
 
static double IFloatingPoint< double >. Tan (double x)
 
static double IFloatingPoint< double >. Tanh (double x)
 
static double IFloatingPoint< double >. Truncate (double x)
 
static bool IFloatingPoint< double >. IsFinite (double d)
 
static bool IFloatingPoint< double >. IsInfinity (double d)
 
static bool IFloatingPoint< double >. IsNaN (double d)
 
static bool IFloatingPoint< double >. IsNegative (double d)
 
static bool IFloatingPoint< double >. IsNegativeInfinity (double d)
 
static bool IFloatingPoint< double >. IsNormal (double d)
 
static bool IFloatingPoint< double >. IsPositiveInfinity (double d)
 
static bool IFloatingPoint< double >. IsSubnormal (double d)
 
static double IIncrementOperators< double >. operator++ (double value)
 
static double IModulusOperators< double, double, double >. operator% (double left, double right)
 
static double IMultiplyOperators< double, double, double >. operator* (double left, double right)
 
static double INumber< double >. Abs (double value)
 
static double INumber< double >. Clamp (double value, double min, double max)
 
static double INumber< double >. Create< TOther > (TOther value)
 
static double INumber< double >. CreateSaturating< TOther > (TOther value)
 
static double INumber< double >. CreateTruncating< TOther > (TOther value)
 
static double double Remainder INumber< double >. DivRem (double left, double right)
 
static double INumber< double >. Max (double x, double y)
 
static double INumber< double >. Min (double x, double y)
 
static double INumber< double >. Parse (string s, NumberStyles style, IFormatProvider provider)
 
static double INumber< double >. Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider)
 
static double INumber< double >. Sign (double value)
 
static bool INumber< double >. TryCreate< TOther > (TOther value, out double result)
 
static bool INumber< double >. TryParse ([NotNullWhen(true)] string s, NumberStyles style, IFormatProvider provider, out double result)
 
static bool INumber< double >. TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider, out double result)
 
static double IParseable< double >. Parse (string s, IFormatProvider provider)
 
static bool IParseable< double >. TryParse ([NotNullWhen(true)] string s, IFormatProvider provider, out double result)
 
static double ISpanParseable< double >. Parse (ReadOnlySpan< char > s, IFormatProvider provider)
 
static bool ISpanParseable< double >. TryParse (ReadOnlySpan< char > s, IFormatProvider provider, out double result)
 
static double ISubtractionOperators< double, double, double >. operator- (double left, double right)
 
static double IUnaryNegationOperators< double, double >. operator- (double value)
 
static double IUnaryPlusOperators< double, double >. operator+ (double value)
 
static bool IsPow2 (TSelf value)
 
static TSelf Log2 (TSelf value)
 
static TResult operator& (TSelf left, TOther right)
 
static TResult operator| (TSelf left, TOther right)
 
static TResult operator^ (TSelf left, TOther right)
 
static TResult operator~ (TSelf value)
 
static TSelf Abs (TSelf value)
 
static TSelf Clamp (TSelf value, TSelf min, TSelf max)
 
static TSelf TSelf Remainder DivRem (TSelf left, TSelf right)
 
static TSelf Max (TSelf x, TSelf y)
 
static TSelf Min (TSelf x, TSelf y)
 
static TSelf Parse (string s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Sign (TSelf value)
 
static bool TryCreate< TOther > (TOther value, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static TResult operator+ (TSelf left, TOther right)
 
static bool operator< (TSelf left, TOther right)
 
static bool operator<= (TSelf left, TOther right)
 
static bool operator> (TSelf left, TOther right)
 
static bool operator>= (TSelf left, TOther right)
 
static bool operator== (TSelf left, TOther right)
 
static bool operator!= (TSelf left, TOther right)
 
static TSelf operator-- (TSelf value)
 
static TResult operator/ (TSelf left, TOther right)
 
static TSelf operator++ (TSelf value)
 
static TResult operator% (TSelf left, TOther right)
 
static TResult operator* (TSelf left, TOther right)
 
static TSelf Parse (ReadOnlySpan< char > s, IFormatProvider? provider)
 
static bool TryParse (ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, IFormatProvider? provider, out TSelf result)
 
static TResult operator- (TSelf left, TOther right)
 
static TResult operator- (TSelf value)
 
static TResult operator+ (TSelf value)
 
static TSelf Acos (TSelf x)
 
static TSelf Acosh (TSelf x)
 
static TSelf Asin (TSelf x)
 
static TSelf Asinh (TSelf x)
 
static TSelf Atan (TSelf x)
 
static TSelf Atan2 (TSelf y, TSelf x)
 
static TSelf Atanh (TSelf x)
 
static TSelf BitDecrement (TSelf x)
 
static TSelf BitIncrement (TSelf x)
 
static TSelf Cbrt (TSelf x)
 
static TSelf Ceiling (TSelf x)
 
static TSelf CopySign (TSelf x, TSelf y)
 
static TSelf Cos (TSelf x)
 
static TSelf Cosh (TSelf x)
 
static TSelf Exp (TSelf x)
 
static TSelf Floor (TSelf x)
 
static TSelf FusedMultiplyAdd (TSelf left, TSelf right, TSelf addend)
 
static TSelf IEEERemainder (TSelf left, TSelf right)
 
static TInteger ILogB< TInteger > (TSelf x)
 
static bool IsFinite (TSelf value)
 
static bool IsInfinity (TSelf value)
 
static bool IsNaN (TSelf value)
 
static bool IsNegative (TSelf value)
 
static bool IsNegativeInfinity (TSelf value)
 
static bool IsNormal (TSelf value)
 
static bool IsPositiveInfinity (TSelf value)
 
static bool IsSubnormal (TSelf value)
 
static TSelf Log (TSelf x)
 
static TSelf Log (TSelf x, TSelf newBase)
 
static TSelf Log2 (TSelf x)
 
static TSelf Log10 (TSelf x)
 
static TSelf MaxMagnitude (TSelf x, TSelf y)
 
static TSelf MinMagnitude (TSelf x, TSelf y)
 
static TSelf Pow (TSelf x, TSelf y)
 
static TSelf Round (TSelf x)
 
static TSelf Round (TSelf x, MidpointRounding mode)
 
static TSelf Round< TInteger > (TSelf x, TInteger digits)
 
static TSelf Round< TInteger > (TSelf x, TInteger digits, MidpointRounding mode)
 
static TSelf ScaleB< TInteger > (TSelf x, TInteger n)
 
static TSelf Sin (TSelf x)
 
static TSelf Sinh (TSelf x)
 
static TSelf Sqrt (TSelf x)
 
static TSelf Tan (TSelf x)
 
static TSelf Tanh (TSelf x)
 
static TSelf Truncate (TSelf x)
 

Static Public Attributes

const double MinValue = -1.7976931348623157E+308
 
const double MaxValue = 1.7976931348623157E+308
 
const double Epsilon = 5E-324
 
const double NegativeInfinity = -1.0 / 0.0
 
const double PositiveInfinity = 1.0 / 0.0
 
const double NaN = 0.0 / 0.0
 
static double Quotient
 

Static Package Functions

static int ExtractExponentFromBits (ulong bits)
 
static ulong ExtractSignificandFromBits (ulong bits)
 

Properties

static double IAdditiveIdentity< double, double >. AdditiveIdentity [get]
 
static double IFloatingPoint< double >. E [get]
 
static double IFloatingPoint< double >. Epsilon [get]
 
static double IFloatingPoint< double >. NaN [get]
 
static double IFloatingPoint< double >. NegativeInfinity [get]
 
static double IFloatingPoint< double >. NegativeZero [get]
 
static double IFloatingPoint< double >. Pi [get]
 
static double IFloatingPoint< double >. PositiveInfinity [get]
 
static double IFloatingPoint< double >. Tau [get]
 
static double IMinMaxValue< double >. MinValue [get]
 
static double IMinMaxValue< double >. MaxValue [get]
 
static double IMultiplicativeIdentity< double, double >. MultiplicativeIdentity [get]
 
static double INumber< double >. One [get]
 
static double INumber< double >. Zero [get]
 
static double ISignedNumber< double >. NegativeOne [get]
 

Static Private Member Functions

static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, NumberFormatInfo info, out double result)
 

Private Attributes

readonly double m_value
 

Detailed Description

Definition at line 11 of file Double.cs.


The documentation for this struct was generated from the following file: