Quad Explicit  Conversion Operators

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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.
C#
public static explicit operator Quad (
	BigInteger value
)

Parameters

value  BigInteger
A BigInteger value.

Return Value

Quad

Remarks

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)

Converts a Decimal number to a Quad value.
C#
public static explicit operator Quad (
	decimal value
)

Parameters

value  Decimal
A Decimal value.

Return Value

Quad

Remarks

This method never throws an exception.

Explicit Conversion (Quad to Byte)

Converts a Quad to a Byte value.
C#
public static explicit operator byte (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Byte
A byte that contains the 8 least significant bits of value.

Remarks

This method never throws an exception.

Explicit Conversion (Quad to Decimal)

Converts a Quad to a Decimal number.
C#
public static explicit operator decimal (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Decimal
A 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.
C#
public static explicit operator double (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Double
A 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.
C#
public static explicit operator Half (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Half
A 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)

Converts a Quad to a Int16 value.
C#
public static explicit operator short (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Int16
The 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)

Converts a Quad to a Int32 value.
C#
public static explicit operator int (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Int32
The 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.
C#
public static explicit operator long (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Int64
A Int64 that contains the 63 least significant bits of value.

Remarks

This method never throws an exception.

Explicit Conversion (Quad to SByte)

Converts a Quad to a SByte value.
C#
public static explicit operator sbyte (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

SByte
The 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.
C#
public static explicit operator float (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

Single
A 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)

Converts a Quad to a UInt16 value.
C#
public static explicit operator ushort (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

UInt16
A 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.
C#
public static explicit operator uint (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

UInt32
A 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.
C#
public static explicit operator ulong (
	Quad value
)

Parameters

value  Quad
The Quad to convert.

Return Value

UInt64
A 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.
C#
public static explicit operator Quad (
	float value
)

Parameters

value  Single
A Single value.

Return Value

Quad

Remarks

This method never throws an exception.

See Also