Click or drag to resize

RandMT Methods

The RandMT type exposes the following members.

Methods
 NameDescription
Public methodNextDouble53This 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.
Public methodNextInt64
(Overrides RandCustomBaseNextInt64)
Public methodRandUint32 Generates a random unsigned integer in the interval [0,0xFFFFFFFF]. This methods was a public function in the original C code, so it remains here as a reference. It is not part of the standard Random class interface.
Top
See Also