haskell / mwc-random

A very fast Haskell library for generating high quality pseudo-random numbers.
http://hackage.haskell.org/package/mwc-random
BSD 2-Clause "Simplified" License
54 stars 25 forks source link

win32: Use RtlGenRandom for seeding #52

Closed thoughtpolice closed 8 years ago

thoughtpolice commented 8 years ago

This fixes #8, and provides much better seed values for Windows.

thoughtpolice commented 8 years ago

Note that I've tested this with GHC 7.8.4 and Criterion-1.1.0.0 on Windows.

Shimuuar commented 8 years ago

Thanks a lot! Uploaded to hackage as 0.13.4.0