Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAmended constant value used by the pseudo-random number generator #636
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
evancz
Jun 26, 2016
Member
Thanks! There is an alternate implementation of PRNG in the pipeline, so I think it makes sense to prefer that route.
|
Thanks! There is an alternate implementation of PRNG in the pipeline, so I think it makes sense to prefer that route. |
evancz
closed this
Jun 26, 2016
evancz
reopened this
Jun 30, 2016
evancz
merged commit df95a9e
into
elm:master
Jun 30, 2016
1 check was pending
continuous-integration/travis-ci/pr
The Travis CI build is in progress
Details
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
evancz
Jun 30, 2016
Member
Actually, it does make sense to merge this in. Great find, thank you for fixing it in a PR!
|
Actually, it does make sense to merge this in. Great find, thank you for fixing it in a PR! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mariosangiorgio commentedJun 2, 2016
As I mentioned in my comment in issue #635, I think the constant we're using needs to be amended. The Haskell implementation uses that value:
The same value is mentioned in the original paper.
I am by no means expert on pseudo-random number generators, so I have no idea why we might have been using a different values. I believe that's a typo but please double check it before accepting this pull request.