Lines Matching defs:random
20 * @(#)random.c 5.5 (Berkeley) 7/6/88
52 long int random ();
54 /* An improved random number generation package. In addition to the standard
58 then initialized to contain information for random number generation with
63 information and generates far better random numbers than a linear
72 for details). The random number generation technique is a linear feedback
79 also influenced by pseudo-random carries out of the lower bits. The
89 /* For each of the currently supported random number generators, we have a
91 bytes of state info to support this random number generator), a degree for
160 away with just one pointer, but the code for random is more efficient
175 Note that for efficiency of random, we remember the first location of
191 /* Initialize the random number generator based on the given seed. If the
212 random();
218 future random number generation. Based on the number of bytes we
348 reduced to 31 bits by throwing away the "least random" low bit.
351 pointer if the front one has wrapped. Returns a 31-bit random number. */
354 random ()
365 /* Chucking least random bit. */