68 unsigned int x = draw_uint(
state);
88 double x = draw_double(
state);
103 DCELL *res = args[0];
107 for (i = 0; i <
columns; i++) {
108 double x = draw_double(
state);
double G_random_double(struct G_random_state *)
Generate a floating-point value in the range [0,1) from a generator of the program's own.
long G_mrand48(void)
Generate an integer in the range [-2^31, 2^31)
uint32_t G_random_uint32(struct G_random_state *)
Generate an integer in the range [0, 2^32)
double G_drand48(void)
Generate a floating-point value in the range [0,1)
void calc_set_random_state(struct G_random_state *(*get_state)(void))
Set the function which gives rand() the random number state.