Quad Explicit Conversion Operators
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Explicit(BigInteger to Quad) | Converts a BigInteger number to a Quad value. |
Explicit(Decimal to Quad) | Converts a Decimal number to a Quad value. |
Explicit(Quad to Byte) | Converts a Quad to a Byte value. |
Explicit(Quad to Decimal) | Converts a Quad to a Decimal number. |
Explicit(Quad to Double) | Converts a Quad to a double-precision floating-point number. |
Explicit(Quad to Half) | Converts a Quad to a half-precision floating-point number. |
Explicit(Quad to Int16) | Converts a Quad to a Int16 value. |
Explicit(Quad to Int32) | Converts a Quad to a Int32 value. |
Explicit(Quad to Int64) | Converts a Quad to a long integer. |
Explicit(Quad to SByte) | Converts a Quad to a SByte value. |
Explicit(Quad to Single) | Converts a Quad to a single-precision floating-point number. |
Explicit(Quad to UInt16) | Converts a Quad to a UInt16 value. |
Explicit(Quad to UInt32) | Converts a Quad to an unsigned integer. |
Explicit(Quad to UInt64) | Converts a Quad to a long unsigned integer. |
Explicit(Single to Quad) | Converts a single-precision floating-point number to a Quad value. |
Explicit Conversion (BigInteger to Quad)
Converts a BigInteger number to a Quad value.
public static explicit operator Quad (
BigInteger value
)
Parameters
- value BigInteger
- A BigInteger value.
Return Value
QuadRemarks
This method never throws an exception. If value is greater than MaxValue, PositiveInfinity is returned. If value is less than -MaxValue, NegativeInfinity is returned.
Explicit Conversion (Decimal to Quad)
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Byte)
public static explicit operator byte (
Quad value
)
Parameters
Return Value
ByteA byte that contains the 8 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Decimal)
public static explicit operator decimal (
Quad value
)
Parameters
Return Value
DecimalA Decimal value that contains the 96 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Double)
Converts a Quad to a double-precision floating-point number.
public static explicit operator double (
Quad value
)
Parameters
Return Value
DoubleA Double with the same value as value. If value is larger than MaxValue, PositiveInfinity is returned.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Half)
Converts a Quad to a half-precision floating-point number.
public static explicit operator Half (
Quad value
)
Parameters
Return Value
HalfA Half with the same value as value. If value is larger than MaxValue, PositiveInfinity is returned.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Int16)
public static explicit operator short (
Quad value
)
Parameters
Return Value
Int16The 16 bit integer that is contained in the 16 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Int32)
public static explicit operator int (
Quad value
)
Parameters
Return Value
Int32The signed 32 bit integer that is contained in the 32 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Int64)
Converts a Quad to a long integer.
public static explicit operator long (
Quad value
)
Parameters
Return Value
Int64A Int64 that contains the 63 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to SByte)
public static explicit operator sbyte (
Quad value
)
Parameters
Return Value
SByteThe signed byte that is contained in the 8 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to Single)
Converts a Quad to a single-precision floating-point number.
public static explicit operator float (
Quad value
)
Parameters
Return Value
SingleA Single with the same value as value. If value is larger than MaxValue, PositiveInfinity is returned.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to UInt16)
public static explicit operator ushort (
Quad value
)
Parameters
Return Value
UInt16A byte that contains the 16 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to UInt32)
Converts a Quad to an unsigned integer.
public static explicit operator uint (
Quad value
)
Parameters
Return Value
UInt32A UInt32 that contains the 32 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Quad to UInt64)
Converts a Quad to a long unsigned integer.
public static explicit operator ulong (
Quad value
)
Parameters
Return Value
UInt64A UInt64 that contains the 64 least significant bits of value.
Remarks
This method never throws an exception.
Explicit Conversion (Single to Quad)
Converts a single-precision floating-point number to a Quad value.
Remarks
This method never throws an exception.