Libraries: xoshiro128 Random Number Generator

 

xoshiro128 Random Number Generator:

The 32-bit xoshiro128** Random Number Generator.

Author: amrali

[Deleted]  
Thank you!
 

6 January 2023

Updated the class to use the more robust 64-bits xoshiro256** random number generator, instead of the 32-bits xoshiro128**.

 

3 August 2025 - Version 1.04

  • Faster generation of unbiased random integers in a range by using Lemire's fastrange method. This technique replaces the slow modulo reduction with a debiased integer multiplication.

 

16 Sept. 2025 - Version 1.07

    • Implemented SHA-256 based seeding (uses CryptEncode with CRYPT_HASH_SHA256) to preserve full 256-bit entropy,


    [Deleted]  

    Author: @amrali

    Could I encourage you to also place all of your CodeBase publication's code into a public AlgoForge repository?

    It will be easier for users to Clone (or Fork) and be kept up to date on updates, instead of manual downloads from the publications.

    This is what I have done for my own publications, having a single public repository containing all of their code.

     
    Fernando Carreiro #:

    Could I encourage you to also place all of your CodeBase publication's code into a public AlgoForge repository?

    It will be easier for users to Clone (or Fork) and be kept up to date on updates, instead of manual downloads from the publications.

    This is what I have done for my own publications, having a single public repository containing all of their code.

    Dear Fernando, I just knew it exists, It seems similar to GIT hub.
    Thank you for the tip.