star-sp

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

commit 81dc1862813ca6d73deeb2c198956780ac4d4b19
parent 198bb553ec40be6fb5d52fca75a84ba7e792ecc3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 16 Mar 2022 09:43:47 +0100

Write release notes for version 0.13

Diffstat:
MREADME.md | 25+++++++++++++++++++++++++
1 file changed, 25 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -34,6 +34,31 @@ variable to the directory that contains the `boost` include directory. ## Release notes +### Version 0.13 + +#### Index of the RNG proxy sequence + +Add the `sequence_id` variable to the RNG proxy. A sequence is a set of random +numbers consumed by the buckets managed by the RNG proxy. This new variable +saves the index of the current sequence relative to the initial state of the +RNG proxy. It thus identifies the set of random numbers already consumed and +currently reserved by an RNG proxy. This data is provided to allow the caller +to synchronize multiple RNG proxies. + +The new `ssp_rng_proxy_get_sequence_id` function allows the caller to retrieve +the index of the current sequence while the `ssp_rng_proxy_flush_sequences` +function allows to remove random numbers from the current sequence and those +from the next one. + +#### Issues in RNG proxy + + +- Fixes the `ssp_rng_proxy_read` function: cached RNG states were not being + cleaned up when updating the proxy state, resulting in the use of random + numbers generated from the wrong state. +- Fixes critical issues in the caching mechanism of the RNG proxy: a cache size + smaller than the size of an RNG state led to critical bugs. + ### Version 0.12.1 Fix creating a random number proxy generator using the KISS type: this type was