payload: {"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/27614","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/27614/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/27614/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/27614/events","html_url":"https://github.com/JuliaLang/julia/issues/27614","id":333000632,"node_id":"MDU6SXNzdWUzMzMwMDA2MzI=","number":27614,"title":"Better default RNG in the future?","user":{"login":"PallHaraldsson","id":8005416,"node_id":"MDQ6VXNlcjgwMDU0MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/8005416?v=4","gravatar_id":"","url":"https://api.github.com/users/PallHaraldsson","html_url":"https://github.com/PallHaraldsson","followers_url":"https://api.github.com/users/PallHaraldsson/followers","following_url":"https://api.github.com/users/PallHaraldsson/following{/other_user}","gists_url":"https://api.github.com/users/PallHaraldsson/gists{/gist_id}","starred_url":"https://api.github.com/users/PallHaraldsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PallHaraldsson/subscriptions","organizations_url":"https://api.github.com/users/PallHaraldsson/orgs","repos_url":"https://api.github.com/users/PallHaraldsson/repos","events_url":"https://api.github.com/users/PallHaraldsson/events{/privacy}","received_events_url":"https://api.github.com/users/PallHaraldsson/received_events","type":"User","site_admin":false},"labels":[{"id":150298040,"node_id":"MDU6TGFiZWwxNTAyOTgwNDA=","url":"https://api.github.com/repos/JuliaLang/julia/labels/RNG","name":"RNG","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":52,"created_at":"2018-06-16T17:00:56Z","updated_at":"2019-10-29T17:27:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"EDIT: \"August 2018 Update: xoroshiro128+ fails PractRand very badly. Since this article was published, its authors have supplanted it with xoshiro256**. It has essentially the same performance, but better statistical properties. **xoshiro256** is now my preferred PRNG**.\" I previously quoted: <s>\"The clear winner is xoroshiro128+\"</s>\r\n\r\nhttps://nullprogram.com/blog/2017/09/21/\r\n\r\n\"Nobody ever got fired for choosing Mersenne Twister. It’s the classical choice for simulations, and is still usually recommended to this day. However, Mersenne Twister’s best days are behind it. ..\r\n\r\nUltimately I would never choose Mersenne Twister for anything anymore. This was also not surprising.\"\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/547539266","html_url":"https://github.com/JuliaLang/julia/issues/27614#issuecomment-547539266","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/27614","id":547539266,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NzUzOTI2Ng==","user":{"login":"vigna","id":1464942,"node_id":"MDQ6VXNlcjE0NjQ5NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1464942?v=4","gravatar_id":"","url":"https://api.github.com/users/vigna","html_url":"https://github.com/vigna","followers_url":"https://api.github.com/users/vigna/followers","following_url":"https://api.github.com/users/vigna/following{/other_user}","gists_url":"https://api.github.com/users/vigna/gists{/gist_id}","starred_url":"https://api.github.com/users/vigna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigna/subscriptions","organizations_url":"https://api.github.com/users/vigna/orgs","repos_url":"https://api.github.com/users/vigna/repos","events_url":"https://api.github.com/users/vigna/events{/privacy}","received_events_url":"https://api.github.com/users/vigna/received_events","type":"User","site_admin":false},"created_at":"2019-10-29T17:27:58Z","updated_at":"2019-10-29T17:27:58Z","author_association":"NONE","body":"> But surprisingly for me, it's not slower to use the \"full-range\" generation, i.e., given a random `UInt64` value `u`, using `(u >> 11) * 2.0^-53` instead of `reinterpret(Float64, 0x3ff0000000000000 | (u >> 12)) - 1.0`.\r\n\r\nYes, that was what I was telling you. I think that FPUs have a very very fast execution path if you just have the significant bits and you shift them in. It might be slower, for example, if you don't do the >>11 shift and divide by 2.0^-64, because I think that in that case there's some rounding going on."}}
other: {"actor":{"display_login":"vigna"}}