Implementation
TinyMT is a variant of the
Mersenne Twister that uses less than 10 bytes of State memory.
Unfortunately, this has the side effect of reducing the PRNG's period length to only 2
127 - 1, which is considerably smaller than average.
Test Results
SEED | Number indicates how many results could be obtained before the generator fell into a loop. |
1138 | - | PASS |
65535 | - | PASS |
8675309 | - | PASS |
16777216 | - | PASS |
123456789 | - | PASS |
|
This generator produced an ideal distribution of outcomes. |
SEED | Minimum of 6,000 darts placed needed to pass. |
1138 | 6995 | PASS |
65535 | 6995 | PASS |
8675309 | 6995 | PASS |
16777216 | 6995 | PASS |
123456789 | 6995 | PASS |
SEED | 70% or higher required to pass. |
1138 | 101% | PASS |
65535 | 101% | PASS |
8675309 | 101% | PASS |
16777216 | 101% | PASS |
123456789 | 101% | PASS |
|
An ideal result for this test. |
1015851015 | 679508588 | 3399384447 | 1218348502 | 2113960429 | 2194609031 | 4087766821 | 1493251703 | 896946676 | 2501863835 | 1083845334 | 229614275 | 1582285977 | 3322993648 | 1503015177 | 2716307011 | 719119463 | 3459553065 | 799007146 | 217687807 |
3322609211 | 348634130 | 1863454405 | 695814043 | 2693888886 | 980778597 | 2541068207 | 2470912929 | 1428214956 | 1190734128 | 3463657465 | 83300723 | 455506945 | 1621662753 | 2914104108 | 3794390876 | 2617327954 | 3663718153 | 952172654 | 2790584199 |
1559723534 | 157310658 | 859504343 | 22317920 | 2584279193 | 1960976584 | 3558993937 | 1498035681 | 1609287998 | 998104842 | 2804333072 | 3199902464 | 1207681475 | 4011215214 | 2679990959 | 3154324060 | 1980474148 | 2636390656 | 3746844994 | 910120790 |
704205138 | 2831826085 | 1880500390 | 207986551 | 485240871 | 561577616 | 2381220311 | 691766578 | 3031884481 | 3131666909 | 646965800 | 340945442 | 3777159909 | 1853741846 | 1779581983 | 3514101496 | 1888691233 | 2296145858 | 3457032348 | 3251202008 |
4277551403 | 2776984195 | 3456900995 | 2258941004 | 1735377879 | 2522444298 | 3419018051 | 315143592 | 3070242952 | 2945018796 | 3775243258 | 3766135468 | 2541665631 | 4262599074 | 1338922732 | 3765545704 | 1585385551 | 1003595522 | 2713935030 | 571163993 |
1111485531 | 3757262162 | 931658988 | 1505252964 | 2657190316 | 195960965 | 3014863277 | 1599546137 | 2917403638 | 966068304 | 2012277573 | 2196699701 | 3957181098 | 524495208 | 1864676235 | 2823140250 | 852093412 | 354908528 | 3289613228 | 529353944 |
1816248960 | 4222783408 | 3195896064 | 792403131 | 3909665461 | 2141764859 | 1774837555 | 3506970020 | 3503652569 | 1747073517 | 820969082 | 757879305 | 1896677979 | 224758272 | 71243503 | 1459408430 | 630582861 | 3134865272 | 4278258574 | 1994937075 |
2190891629 | 3990515564 | 4271284581 | 3440555881 | 2093866500 | 1784947643 | 4164479133 | 3871363453 | 3757170194 | 3553775517 | 2724890749 | 2217477787 | 1779187092 | 2765578576 | 1606318754 | 882055138 | 2051632272 | 608426678 | 3634659674 | 1770064235 |
2308942189 | 2402445167 | 3806779331 | 4163272968 | 1933850726 | 2367138743 | 2424718569 | 2010804633 | 2854997351 | 3437919105 | 693235951 | 52514628 | 1891389111 | 2833736603 | 1060502331 | 2497610884 | 3654120707 | 3508849495 | 2771555943 | 772345990 |
4138717402 | 3461792915 | 416187776 | 1553743850 | 1071692783 | 359726112 | 2425008708 | 3761173533 | 4199600324 | 4222942248 | 4193064097 | 1217805665 | 2319696904 | 1359637526 | 2803168280 | 3397137502 | 1306611867 | 3016860012 | 3772005569 | 92528259 |
2103648132 | 1632916413 | 1264670013 | 849749693 | 1127431332 | 915810167 | 863775939 | 3829083178 | 2578161252 | 3383495579 | 1768099045 | 1268074311 | 3398769363 | 1612156966 | 1663248615 | 2645180512 | 600062370 | 3254611213 | 2371156995 | 1031662355 |
2780444137 | 393732355 | 1635211115 | 511798566 | 821628222 | 1550425765 | 2598660912 | 3789847984 | 1663428324 | 1999435168 | 83060703 | 2565449704 | 1895910574 | 1534419592 | 428223472 | 1443081244 | 3413249861 | 645548088 | 1284211277 | 185587875 |
4106956359 | 4106360395 | 4173681837 | 931755507 | 3854015147 | 118763948 | 538381972 | 865593452 | 4213334612 | 4067035206 | 985392611 | 2745379243 | 557054473 | 1361788873 | 158367154 | 1806797649 | 1884569378 | 2687657987 | 2261903211 | 2455732938 |
2032161777 | 1366945721 | 1609240496 | 2555606584 | 326801026 | 2907308448 | 3330745146 | 3423207727 | 900644261 | 145039588 | 918608809 | 1960387469 | 150968976 | 3452625549 | 644107576 | 2423284538 | 4238302828 | 3688885142 | 456569761 | 1865196763 |
41715258 | 688415151 | 4178278934 | 466903364 | 2229552263 | 109194790 | 999826784 | 1032554312 | 4006712127 | 215568234 | 645359384 | 4292462762 | 4076890335 | 423287430 | 376362500 | 3421026846 | 833425801 | 3306480878 | 3606498205 | 4013985837 |
33236214 | 3542154952 | 4006958759 | 235498990 | 2020625264 | 3007996069 | 3359961488 | 1435395212 | 3049929311 | 3893336206 | 2676161891 | 3416752354 | 2604649987 | 2468353328 | 2587374688 | 3404896317 | 2985146392 | 3997622052 | 2075723211 | 1740702812 |
75762957 | 481943191 | 1608974877 | 4165242687 | 3395956632 | 1678278732 | 1708151783 | 3055867148 | 2800392468 | 634221077 | 1565811423 | 653368892 | 3126007 | 527686945 | 1274330518 | 2209574801 | 3188107508 | 2259830193 | 267434862 | 4181439427 |
1708555269 | 2587138321 | 1092413333 | 4172802455 | 3669983256 | 1944605870 | 3838195021 | 2674354176 | 700411931 | 2252730814 | 1612454910 | 2574188171 | 1265650265 | 1808663987 | 3267352285 | 1199750779 | 1169274502 | 393261191 | 420017565 | 2053410605 |
3859372247 | 3022676965 | 2172012821 | 2344166669 | 714162450 | 2961520376 | 976762405 | 853904045 | 1005662968 | 3290530801 | 2050405588 | 1438517886 | 4168997518 | 1197517517 | 2297718903 | 1812223810 | 659175237 | 294476227 | 1330736490 | 1562413414 |
728035002 | 1028677751 | 3503037271 | 2189496768 | 2784723263 | 2710307772 | 2506565103 | 624160120 | 2811609694 | 300187651 | 20387553 | 901739427 | 979646756 | 2950340133 | 129248081 | 822938263 | 1968853323 | 222247753 | 466651144 | 4042464282 |