summaryrefslogtreecommitdiff
path: root/README.in
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2002-12-10 13:50:40 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2002-12-10 13:50:40 +0000
commit1c462ac694a957ec1355c2e0875b54705132c8eb (patch)
tree1d05a7c3a8f72725919bde29a33d3fbb3e65b522 /README.in
parent657428da90bec3b77c768d28dd51c2a1103bf88d (diff)
Improve generation of pseudo-random integers. (#99720, Morten Welinder
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/grand.c (g_rand_int_range): Improve generation of pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>) * README.in, docs/reference/glib/running.sgml, docs/reference/glib/tmpl/random_numbers.sgml, docs/reference/glib/changes.sgml: Added notes about the new algorithm. 2CVS: ----------------------------------------------------------------------
Diffstat (limited to 'README.in')
-rw-r--r--README.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/README.in b/README.in
index 856bab41f..56ab9aa7c 100644
--- a/README.in
+++ b/README.in
@@ -34,11 +34,16 @@ Notes about GLib-2.2.0
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.
+ 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
==================