grand: Fix URLs for info on the Mersenne Twister
authorJavier Jardón <jjardon@gnome.org>
Fri, 17 Dec 2010 16:12:16 +0000 (16:12 +0000)
committerJavier Jardón <jjardon@gnome.org>
Fri, 17 Dec 2010 16:12:16 +0000 (16:12 +0000)
Reported by Allin Cottrell here:
http://mail.gnome.org/archives/gtk-devel-list/2010-December/msg00134.html

glib/grand.c
glib/grand.h
glib/tests/rand.c

index a70ce7b..e86afa7 100644 (file)
@@ -68,8 +68,8 @@
  * pseudo-random number generator (PRNG). It uses the Mersenne Twister
  * PRNG, which was originally developed by Makoto Matsumoto and Takuji
  * Nishimura. Further information can be found at
- * <ulink url="http://www.math.keio.ac.jp/~matumoto/emt.html">
- * www.math.keio.ac.jp/~matumoto/emt.html</ulink>.
+ * <ulink url="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html">
+ * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html</ulink>.
  *
  * If you just need a random number, you simply call the
  * <function>g_random_*</function> functions, which will create a
index 07907df..0397992 100644 (file)
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
 typedef struct _GRand           GRand;
 
 /* GRand - a good and fast random number generator: Mersenne Twister
- * see http://www.math.keio.ac.jp/~matumoto/emt.html for more info.
+ * see http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html for more info.
  * The range functions return a value in the intervall [begin, end).
  * int          -> [0..2^32-1]
  * int_range    -> [begin..end-1]
index 62b5f75..f1ff08d 100644 (file)
@@ -22,7 +22,8 @@
 #include "glib.h"
 
 /* Outputs tested against the reference implementation mt19937ar.c from
-   http://www.math.keio.ac.jp/~matumoto/MT2002/emt19937ar.html */
+ * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html
+ */
 
 /* Tests for a simple seed, first number is the seed */
 const guint32 first_numbers[] =