{"provider_url":"https://hatena.blog","author_name":"oupo","blog_url":"https://oupo.hatenadiary.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foupo.hatenadiary.com%2Fentry%2F20171219%2F1513609225\" title=\"64bit LCG\u306e\u691c\u7d22 - oupo\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://oupo.hatenadiary.com/entry/20171219/1513609225","author_url":"https://blog.hatena.ne.jp/oupo/","provider_name":"Hatena Blog","image_url":null,"width":"100%","description":"Pok\u00e9mon RNG Advent Calendar 2017\u306e19\u65e5\u306e\u8a18\u4e8b\u3067\u3059\u3002\u7b2c5\u4e16\u4ee3\u306e\u30dd\u30b1\u30e2\u30f3\u3067\u306f\u6b21\u306e64bit\u306eLCG(\u7dda\u5f62\u5408\u540c\u6cd5)\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002 X_{n+1} = (X_n * 0x5d588b656c078965 + 0x269ec3) % 2^6464bit\u3068\u306a\u308b\u3068\u5168seed\u3092\u3057\u3089\u307f\u3064\u3076\u3059\u3068\u3044\u3046\u3053\u3068\u304c\u73fe\u5b9f\u7684\u306a\u6642\u9593\u3067\u306f\u4e0d\u53ef\u80fd\u3067\u3059\u300216bit\u306e\u4e71\u6570\u5024\u304c\u308f\u304b\u308b\u72b6\u6cc1\u3092\u8003\u3048\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3067\u3082\u8abf\u3079\u308bseed\u306e\u500b\u6570\u306f2^48\u500b\u3042\u3063\u3066\u3084\u306f\u308a\u5168\u63a2\u7d22\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u305d\u3046\u3067\u3059\u3002(2^32\u500b\u306e\u63a2\u7d22\u304c1\u79d2\u3067\u6e08\u3080\u3068\u4eee\u5b9a\u3057\u3066\u308218\u6642\u9593\u304b\u304b\u308b)\u3057\u304b\u3057\u3001\u5b9f\u306f16bit\u306e\u4e71\u6570\u60c5\u5831\u304c\u3042\u308c\u3070\u305d\u308c\u306a\u308a\u306b\u901f\u3044\u6642\u9593\u3067(\u2026","blog_title":"oupo\u306e\u65e5\u8a18","published":"2017-12-19 00:00:25","version":"1.0","categories":[],"height":"190","title":"64bit LCG\u306e\u691c\u7d22","type":"rich"}