UInt128 Conversion (UInt128 to UInt64) |
Converts an unsigned 128-bit integer into an unsigned 64-bit integer.
Namespace:
Meta.Numerics.Extended
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static explicit operator ulong (
UInt128 u
)
Public Shared Narrowing Operator CType (
u As UInt128
) As ULong
static explicit operator unsigned long long (
UInt128 u
)
F# does not support the declaration of new casting operators.
Parameters
- u
- Type: Meta.Numerics.ExtendedUInt128
The unsigned 128-bit integer.
Return Value
Type:
UInt64The unsigned 64-bit integer with the same lower 64 bits.
Remarks This is x narrowing cast, which discards high-order bits if
the 128-bit integer is greater than MaxValue.
See Also