sPyNNaker neural_modelling 7.3.1
|
Utility function for random number generation. More...
#include <random.h>
Go to the source code of this file.
Functions | |
static int32_t | mars_kiss_fixed_point (void) |
Variables | |
static mars_kiss64_seed_t | seed = {123456789, 234567891, 345678912, 456789123} |
YUCK copy and pasted RNG to allow inlining and also to avoid horrific executable bloat. | |
Utility function for random number generation.
Definition in file random_util.h.
|
inlinestatic |
Definition at line 33 of file random_util.h.
|
static |
YUCK copy and pasted RNG to allow inlining and also to avoid horrific executable bloat.
Algorithm is the KISS algorithm due to Marsaglia and Zaman. (Fortunately, we don't do cryptography on SpiNNaker.)
Definition at line 31 of file random_util.h.