Random Generator Extensions.UInt 64To Double Method
Converts a 64-bit unsigned integer to a double-precision floating-point number in [0, 1).
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
A double in the range [0.0, 1.0).
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public static double UInt64ToDouble(
ulong value
)Parameters
- value UInt64
- The 64-bit unsigned integer value.
Return Value
DoubleA double in the range [0.0, 1.0).