| grand.h | grand.h | |||
|---|---|---|---|---|
| skipping to change at line 41 | skipping to change at line 41 | |||
| #ifndef __G_RAND_H__ | #ifndef __G_RAND_H__ | |||
| #define __G_RAND_H__ | #define __G_RAND_H__ | |||
| #include <glib/gtypes.h> | #include <glib/gtypes.h> | |||
| G_BEGIN_DECLS | G_BEGIN_DECLS | |||
| typedef struct _GRand GRand; | typedef struct _GRand GRand; | |||
| /* GRand - a good and fast random number generator: Mersenne Twister | /* 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 in fo. | |||
| * The range functions return a value in the intervall [begin, end). | * The range functions return a value in the intervall [begin, end). | |||
| * int -> [0..2^32-1] | * int -> [0..2^32-1] | |||
| * int_range -> [begin..end-1] | * int_range -> [begin..end-1] | |||
| * double -> [0..1) | * double -> [0..1) | |||
| * double_range -> [begin..end) | * double_range -> [begin..end) | |||
| */ | */ | |||
| GRand* g_rand_new_with_seed (guint32 seed); | GRand* g_rand_new_with_seed (guint32 seed); | |||
| GRand* g_rand_new_with_seed_array (const guint32 *seed, | GRand* g_rand_new_with_seed_array (const guint32 *seed, | |||
| guint seed_length); | guint seed_length); | |||
| End of changes. 1 change blocks. | ||||
| 1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||