star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit cbb39bbd4dd31a4f240b555a200fcad8a7bfe790
parent f4547c549fcaa821b1de49bab5b3a4b7bd6579a7
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 21 Sep 2015 12:35:17 +0200

Fix the comment of the uniform_uint64 function

Diffstat:
Msrc/ssp.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ssp.h b/src/ssp.h @@ -131,13 +131,13 @@ SSP_API uint64_t ssp_rng_get (struct ssp_rng* rng); -/* Advances the internal state by n times. +/* Advances the internal state by n times. Equivalent to calling ssp_rng_get() n times and discarding the result */ SSP_API res_T ssp_rng_discard (struct ssp_rng* rng, uint64_t n); -/* Uniform random integer distribution in [lower, upper) */ +/* Uniform random integer distribution in [lower, upper] */ SSP_API uint64_t ssp_rng_uniform_uint64 (struct ssp_rng* rng,