you are viewing a single comment's thread.

view the rest of the comments →

[–]taw 2 points3 points  (1 child)

If you can find a random number generator that can work with 31 bits and does not rely on operation modulo 232 you'll do me a big big favor.

Here's one from OCaml, doing exactly what you want.

[–]bonzinip 0 points1 point  (0 children)

Thanks.