{"id":21206236,"url":"https://github.com/rtmigo/randomref","last_synced_at":"2025-03-14T23:11:49.970Z","repository":{"id":138533185,"uuid":"351469797","full_name":"rtmigo/randomref","owner":"rtmigo","description":"Creates JSON with output values from different random number generators","archived":false,"fork":false,"pushed_at":"2021-09-14T22:32:24.000Z","size":1310,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T15:32:19.801Z","etag":null,"topics":["prng","prng-algorithms","random","random-number-generators"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtmigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-25T14:40:27.000Z","updated_at":"2021-09-14T22:32:27.000Z","dependencies_parsed_at":"2023-07-06T16:01:33.895Z","dependency_job_id":null,"html_url":"https://github.com/rtmigo/randomref","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtmigo%2Frandomref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtmigo%2Frandomref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtmigo%2Frandomref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtmigo%2Frandomref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtmigo","download_url":"https://codeload.github.com/rtmigo/randomref/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658274,"owners_count":20326467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prng","prng-algorithms","random","random-number-generators"],"created_at":"2024-11-20T20:54:57.028Z","updated_at":"2025-03-14T23:11:49.965Z","avatar_url":"https://github.com/rtmigo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"Creates JSON with output values from different random number generators (PRNG).\n\nThe generated values can be used to test the same PRNG algorithms rewritten \nin other languages. This is how the [xrandom](https://github.com/rtmigo/xrandom) library is tested.\n\nThe reference PRNG algorithm implementations are usually in C99. C++ behaves \nthe same way when handling numbers. So we use C++ to generate the reference \nvalues.\n\n## Algorithms\n\nRandom 32-bit integer:\n- xorshift32\n- xorshift128\n- xoshiro128++\n- mulberry32\n\nRandom 64-bit integer:\n- xorshift64\n- xorshift128+\n- xoshiro256++\n- xoshiro256**\n- splitmix64\n\nBounded integer:\n- [divisionless](https://arxiv.org/abs/1805.10941)\n\nInt-to-double:\n- [multiplication](https://prng.di.unimi.it/)\n- [bitcast](https://prng.di.unimi.it/)\n- [randbl32](http://doi.acm.org/10.1145/1189756.118975)\n\n## Compiling and running \n\nOn POSIX system with GCC:\n\n``` shell\n$ g++ main.cpp --std=c++2a -o randomref.com\n$ ./randomref.com\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtmigo%2Frandomref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtmigo%2Frandomref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtmigo%2Frandomref/lists"}