version 1/080522 by Mikael Segercrantz

  • Home page
  • Beginning
  • Next

  • Documentation

    Chapter: Information on the Pseudorandom number generator

    The Randomness extension creates a pseudorandom number generator kind, which has a few properties in it:

        the previous value - the latest calculated random number
        the multiplier - the multiplier used to create random numbers
        the adder - the adder used to create random numbers

    The pseudorandom number generator of the Randomness extension is of the most basic kind, utilizing the formula SEED = (SEED * MULT) + ADD to generate random numbers.