Int128   Conversion (Double to Int128)

Converts a floating-point value into a 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 Int128 (
	double x
)

Parameters

x  Double
The floating-point number to convert.

Return Value

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

Exceptions

InvalidCastExceptionx is NaN, or infinite.

See Also