UInt128   Conversion (UInt128 to Double)

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

Definition

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

Parameters

u  UInt128
The unsigned 128-bit integer.

Return Value

Double
The 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