Home | History | Annotate | Download | only in glib

Lines Matching defs:g_rand_int

360  * g_rand_int:
369 g_rand_int (GRand* rand)
431 /* This method, which only calls g_rand_int once is only good
433 * from the one call to g_rand_int (). */
435 /* we are using (trans + trans * trans), because g_rand_int only
436 * covers [0..2^32-1] and thus g_rand_int * trans only covers
440 gdouble double_rand = g_rand_int (rand) *
473 random = g_rand_int (rand);
500 32. Thats why we need two calls to g_rand_int */
501 gdouble retval = g_rand_int (rand) * G_RAND_DOUBLE_TRANSFORM;
502 retval = (retval + g_rand_int (rand)) * G_RAND_DOUBLE_TRANSFORM;
545 result = g_rand_int (global_random);