Point of view

All features

Summary

Overview

Create (or reset) the random number generator with an automatic hazardous setting of the
__seed_value__ based on the CPU clock.

Create (or reset) the random number generator with an explicit __seed_value__.

Prepare the next random number in sequence.

The last computed number in range 0.0 to 1.0 excluded (see ensure).

The last computed number in range 1 to __n__(see ensure).

Some positive random value to be used as a seed which may change as much as possible in a random
way.

MINIMAL_RANDOM_NUMBER_GENERATOR, andPRESS_RANDOM_NUMBER_GENERATOR. Most applications can safely rely onMINIMAL_RANDOM_NUMBER_GENERATOR. If you really need high quality randomizing, considerPRESS_RANDOM_NUMBER_GENERATOR.