UInt128 Conversion (UInt128 to Double) |
Converts an unsigned 128-bit integer into a floating point value.
Namespace:
Meta.Numerics.Extended
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static implicit operator double (
UInt128 u
)
Public Shared Widening Operator CType (
u As UInt128
) As Double
static implicit operator double (
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:
DoubleThe nearest
Double floating point value.
Remarks This cast will never fail, but it will loose precision
for values larger than about 1016, because Double
maintains only about 52 bits of precision.
See Also