Bernard Widynski's Middle Square Weyl Sequence RNG (MsWs)

General FreeBASIC programming questions.
dafhi
Posts: 1233
Joined: Jun 04, 2005 9:51

Re: Bernard Widynski's Middle Square Weyl Sequence RNG (MsWs)

Postby dafhi » Nov 05, 2018 0:42

I put hi first in a lot of range-based what-have-you's b/c more often than not, lo is 0

your test code, i gather from brief glances at various threads, is a good short-term indicator of randomness.

these silly RNGs keep distracting me from my new ray tracer :-)
dodicat
Posts: 5563
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Bernard Widynski's Middle Square Weyl Sequence RNG (MsWs)

Postby dodicat » Nov 05, 2018 2:19

You can trace at random.

Return to “General”

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests