Jump to content

Random number generator (included): Difference between revisions

Added Oz.
(Added Oz.)
Line 24:
 
OCaml provides a module called [http://caml.inria.fr/pub/docs/manual-ocaml/libref/Random.html Random] in its standard library which is a "Linear feedback shift register" pseudo-random number generator (References: Robert Sedgewick, "Algorithms", Addison-Wesley). It is seeded by a MD5-based PRNG.
 
=={{header|Oz}}==
Oz provides a binding to the C <code>[http://www.opengroup.org/onlinepubs/000095399/functions/rand.html rand]</code> function as <code>[http://www.mozart-oz.org/home/doc/system/node56.html#label719 OS.rand]</code>.
 
=={{header|Perl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.