Additions.
[platform/upstream/glib.git] / README.in
index a78a9d7..56ab9aa 100644 (file)
--- a/README.in
+++ b/README.in
@@ -24,6 +24,27 @@ 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
+
+  Also the pseudo-random integers generated by g_rand_int_range and 
+  g_random_int_range will have a slightly better equal distribution
+  with the new version of GLib.
+  The original algorithms, as found in GLib-2.0.x, can be used instead
+  of the new ones by setting the environment variable G_RANDOM_VERSION
+  to the value of "2.0".
+
+  Use the GLib-2.0 algorithms only if you have sequences of numbers
+  generated with Glib-2.0 that you need to reproduce exactly.
+
 How to report bugs
 ==================