man wnrnd (Fonctions bibliothèques) - random numbers

NAME

wn_seed_random_number_generator, wn_random_int, wn_random_mod_int, wn_random_n_bits, wn_random_bit - random numbers

SYNOPSIS

#include <wn/wnrnd.h>

void wn_seed_random_number_generator(int seed)

int wn_random_int(void)

unsigned int wn_random_mod_int(unsigned int mod)

int wn_random_n_bits(int n)

int wn_random_bit(void)

DESCRIPTION

These routines generate pseudo-random numbers.

wn_seed_random_number_generator seeds using seed.

For true random numbers, as oppose to pseudo-random numbers, see wnrndt.

SEE ALSO

wnrndd, wnrndt

AUTHOR

Will Naylor

CETTE PAGE DOCUMENTE AUSSI :