summaryrefslogtreecommitdiff
path: root/README.in
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2002-11-26 14:09:00 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2002-11-26 14:09:00 +0000
commitc838b2a0712ee0a6595821839bf528467936ab0e (patch)
tree02f5bdc676cccf1fbf444ab91d315686cd07f818 /README.in
parent17344bb1e40239ddfa12e3fec9b9a10b25959f6d (diff)
Improved the seeding algorithm. Old behaviour can be achived by setting
2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c: Improved the seeding algorithm. Old behaviour can be achived by setting envvar G_RANDOM_VERSION to "2.0". (#99262) * docs/reference/glib/glib-docs.sgml, docs/reference/glib/Makefile.am: Renamed docs/reference/glib/changes-2.0.sgml to docs/reference/glib/changes.sgml and added section for changes from 2.0 to 2.2 (Also corrected 1.0 to 1.2). * README.in, docs/reference/glib/running.sgml, docs/reference/glib/tmpl/random_numbers.sgml, docs/reference/glib/changes.sgml: Added notes about the new seeding algorithm.
Diffstat (limited to 'README.in')
-rw-r--r--README.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.in b/README.in
index a78a9d71e..856bab41f 100644
--- a/README.in
+++ b/README.in
@@ -24,6 +24,22 @@ Installation
See the file 'INSTALL'
+Notes about GLib-2.2.0
+======================
+
+* GLib changed the seeding algorithm for the pseudo-random number
+ generator Mersenne Twister, as used by GRand and GRandom. This was
+ necessary, because some seeds would yield very bad pseudo-random
+ streams. Further information can be found at:
+
+ http://www.math.keio.ac.jp/~matumoto/emt.html
+
+ The original seeding algorithm, as found in GLib-2.0.x, can be used
+ instead of the new one by setting the environment variable
+ G_RANDOM_VERSION to the value of "2.0". Use the GLib-2.0 algorithm
+ only if you have sequences of numbers generated with Glib-2.0 that
+ you need to reproduce exactly.
+
How to report bugs
==================