Click or drag to resize

UInt128  Conversion (Double to UInt128)

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

Namespace:  Meta.Numerics.Extended
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static explicit operator UInt128 (
	double x
)

Parameters

x
Type: SystemDouble
A floating-point number.

Return Value

Type: UInt128
The lower 128 bits of the integer part of the floating-point number.
Exceptions
ExceptionCondition
InvalidCastExceptionx is negative, or NaN, or infinite.
See Also