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)

​

Associated software used in this project is shown below.  Some of these downloads are no longer available from the original website.

​

                   to download xorgens306.zip (originally downloaded from

                   https://maths-people.anu.edu.au/~brent/random.html )

​​​

                   to download TestU01.zip (originally downloaded from

                   https://simul.iro.umontreal.ca/testu01/tu01.html )

​

                   to download PractRand_0.96.zip​​ (originally downloaded from                             https://pracrand.sourceforge.net/ )

​​​​

bottom of page