Endo
    Preparing search index...

    Function random

    • Returns a float in [0, 1).

      random ensures that each respective returned value from streams with the same seed is equal across runs and engines by internally constructing a 53-bit integer and dividing it by 2 ** 53 (which avoids engine-dependent rounding).

      Parameters

      • source: RandomSource

      Returns number