Go to the source code of this file.
Functions | |
void * | xmalloc (size_t n) |
void * | xcalloc (size_t n, size_t k) |
uint_fast64_t | random_up_to (mrg_state *st, uint_fast64_t n) |
void | make_mrg_seed (uint64_t userseed1, uint64_t userseed2, uint_fast32_t *seed) |
void make_mrg_seed | ( | uint64_t | userseed1, |
uint64_t | userseed2, | ||
uint_fast32_t * | seed | ||
) |
uint_fast64_t random_up_to | ( | mrg_state * | st, |
uint_fast64_t | n | ||
) |
void* xcalloc | ( | size_t | n, |
size_t | k | ||
) |
void* xmalloc | ( | size_t | n | ) |