RandomGeneratorExtensions.UInt64ToDouble 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#
public static double UInt64ToDouble(
	ulong value
)

Parameters

value  UInt64
The 64-bit unsigned integer value.

Return Value

Double
A double in the range [0.0, 1.0).

See Also