Thomas Lumley 9/22/2015

NZ Flag Referendum pseudorandom numbers

Read Original

This technical article examines the pseudorandom number generator (PRNG) specified in New Zealand's Flag Referendum Act for breaking ties. It details how the algorithm is almost, but not exactly, the Wichmann-Hill PRNG, points out a deviation that leads to a non-uniform output distribution, and discusses seed generation and a related potential bug in electoral regulations.

NZ Flag Referendum pseudorandom numbers

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes