top of page

Middle-Square Weyl Sequence RNG

                    to download mswsrngv5.zip  (version 5 - March 20, 2022)

Version 5 provides a 64-bit output and an improved jump ahead for parallel usage.   See below for previous versions of the RNG. 

This may be the fastest RNG for the generation of 32-bit precision floating-point numbers.

This generator passes BigCrush and PractRand.

A counter-based version is now available 

Middle-Square Weyl Sequence RNG is available (free, but without warranty) 

as open-source software under the GNU General Public License.

Previous software releases are shown below.  The above version has the improved initialization, jump ahead, and 64-bit output. 

                    to download mswsrngv4.zip (version 4 - March 15, 2022)

                   to download mswsrngv3.zip (version 3 - May 19, 2020`)

                   to download mswsrngv2.zip (version 2 - July 31, 2019)

                   to download mswsrng.zip     (version 1 - April 23, 2017)

bottom of page