Click or drag to resize

RandMTNextDouble53 Method

This method was in the original C code. It is probably a cryptic way of combining two 32-bit numbers into a 64-bit number which then has 53 bits converted into a floating-point number so that all possible values can be produced. A shift-and-multiply is an easier way to do that. This method remains in the class as a reference.

Namespace: Orthogonal.Common.Basic.PRNG
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2024-04-29 08:29 GMT+10
Syntax
C#
public double NextDouble53()

Return Value

Double
See Also