Leave a Comment »
Blog at WordPress.com.
Entries and comments feeds.
Multiply with carry 16
Concatenation of following two 16-bit multiply with carry generators: x(n) = a*x(n-1)+carry mod 2^16 and y(n) = b*y(n-1)+carry mod 2^16. Number and carry packed within the same 32 bit integer. Pass all of the tests in Marsaglia’s “Diehard” battery of statistical tests.
Blog at WordPress.com.
Entries and comments feeds.
Leave a Reply