UInt128   Conversion (Double to UInt128)

Converts a floating-point value into an unsigned 128-bit integer.

Definition

Namespace: Meta.Numerics.Extended
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static explicit operator UInt128 (
	double x
)

Parameters

x  Double
A floating-point number.

Return Value

UInt128
The lower 128 bits of the integer part of the floating-point number.

Exceptions

InvalidCastExceptionx is negative, or NaN, or infinite.

See Also