1 #ifndef BGLIBS__SURFRAND__H__ 2 #define BGLIBS__SURFRAND__H__ Definition: surfrand.h:10
double surfrand_double(struct surfrand *c)
Definition: surfrand.c:93
void surfrand_fill(struct surfrand *c, unsigned char *buf, unsigned len)
Definition: surfrand.c:101
uint32 generated[SURF_OUT_U32]
Definition: surfrand.h:16
#define SURF_SEED_U32
Definition: surf.h:14
uint32 counter[SURF_IN_U32]
Definition: surfrand.h:20
unsigned left
Definition: surfrand.h:14
uint32 surfrand_uint32(struct surfrand *c)
Definition: surfrand.c:81
#define SURF_OUT_U32
Definition: surf.h:10
uint32 surfrand_uniform(struct surfrand *c, uint32 bound)
Definition: surfrand.c:121
void surfrand_init(struct surfrand *c, const uint32 *data, unsigned words)
Definition: surfrand.c:51
#define SURF_IN_U32
Definition: surf.h:12
uint32 seed[SURF_SEED_U32]
Definition: surfrand.h:18