random

Get a random integer between 0 and n (excluded). It does its best to guarantee a uniform distribution.

  1. T random()
  2. T random()
  3. uint random(uint n)
    uint
    random
    (
    uint n
    )

Meta