The OpenD Programming Language

randomInteger

Gets a random number from a uniform distribution including min and up to (but not including) max from the reasonable default generator.

  1. int uniform(int min, int max)
  2. int uniform(Rng gen, int min, int max)
  3. alias randomInteger = uniform
    import arsd.random;
    alias randomInteger = uniform

Meta

History

Added April 17, 2025