BigFloat Implicit  Conversion Operators

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Implicit(BigInteger to BigFloat) Converts a BigInteger to a BigFloat value.
Implicit(Byte to BigFloat) Converts a BigInteger value to a Byte value.
Implicit(Decimal to BigFloat) Converts a Decimal number to a BigFloat value.
Implicit(Double to BigFloat) Converts a double-precision floating-point number to a BigInteger value.
Implicit(Int16 to BigFloat) Converts a 16 bit signed integer to a BigFloat value.
Implicit(Int32 to BigFloat) Converts a 32 bit signed integer to a BigFloat value.
Implicit(Int64 to BigFloat) Converts a 64 bit signed integer to a BigFloat value.
Implicit(SByte to BigFloat) Converts a signed byte to a BigFloat value.
Implicit(Single to BigFloat) Converts a single-precision floating-point number to a BigInteger value.
Implicit(UInt16 to BigFloat) Converts a 16 bit unsigned integer to a BigFloat value.
Implicit(UInt32 to BigFloat) Converts a 32 bit unsigned integer to a BigFloat value.
Implicit(UInt64 to BigFloat) Converts a 64 bit unsigned integer to a BigFloat value.

Implicit Conversion (BigInteger to BigFloat)

Converts a BigInteger to a BigFloat value.
C#
public static implicit operator BigFloat (
	BigInteger value
)

Parameters

value  BigInteger
The BigInteger to convert.

Return Value

BigFloat
A BigFloat value with the same value as value.

Implicit Conversion (Byte to BigFloat)

Converts a BigInteger value to a Byte value.
C#
public static implicit operator BigFloat (
	byte value
)

Parameters

value  Byte
A Byte

Return Value

BigFloat
A BigFloat value that represents the converted Byte value.

Implicit Conversion (Decimal to BigFloat)

Converts a Decimal number to a BigFloat value.
C#
public static implicit operator BigFloat (
	decimal value
)

Parameters

value  Decimal
A Decimal value.

Return Value

BigFloat

Remarks

Any digits after the decimal point in value are discarded.

Implicit Conversion (Double to BigFloat)

Converts a double-precision floating-point number to a BigInteger value.
C#
public static implicit operator BigFloat (
	double value
)

Parameters

value  Double
A Double value.

Return Value

BigFloat

Exceptions

OverflowExceptionvalue is less than zero.

-or-

value is NaN.

-or-

value is infinite.

Implicit Conversion (Int16 to BigFloat)

Converts a 16 bit signed integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	short value
)

Parameters

value  Int16
A Int16

Return Value

BigFloat
A BigFloat value that represents the converted 16 bit signed integer.

Implicit Conversion (Int32 to BigFloat)

Converts a 32 bit signed integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	int value
)

Parameters

value  Int32
A Int32

Return Value

BigFloat
A BigFloat value that represents the converted 32 bit signed integer.

Implicit Conversion (Int64 to BigFloat)

Converts a 64 bit signed integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	long value
)

Parameters

value  Int64
A Int64

Return Value

BigFloat
A BigFloat value that represents the converted 64 bit signed integer.

Implicit Conversion (SByte to BigFloat)

Converts a signed byte to a BigFloat value.
C#
public static implicit operator BigFloat (
	sbyte value
)

Parameters

value  SByte
A Byte

Return Value

BigFloat
A BigFloat value that represents the converted signed byte.

Implicit Conversion (Single to BigFloat)

Converts a single-precision floating-point number to a BigInteger value.
C#
public static implicit operator BigFloat (
	float value
)

Parameters

value  Single
A Single value.

Return Value

BigFloat

Implicit Conversion (UInt16 to BigFloat)

Converts a 16 bit unsigned integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	ushort value
)

Parameters

value  UInt16
A UInt16

Return Value

BigFloat
A BigFloat value that represents the converted 16 bit unsigned integer.

Implicit Conversion (UInt32 to BigFloat)

Converts a 32 bit unsigned integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	uint value
)

Parameters

value  UInt32
A UInt32

Return Value

BigFloat
A BigFloat value that represents the converted 32 bit unsigned integer.

Implicit Conversion (UInt64 to BigFloat)

Converts a 64 bit unsigned integer to a BigFloat value.
C#
public static implicit operator BigFloat (
	ulong value
)

Parameters

value  UInt64
A UInt64

Return Value

BigFloat
A BigFloat value that represents the converted 64 bit unsigned integer.

See Also