int seed; seed = seed + 271828192; seed = seed * 314159;
... int random_number_seed = 0xACE1u; ... int RND() { random_number_seed = random_number_seed + 271828192; random_number_seed = random_number_seed * 314159; return random_number_seed; }
Random Number Test V0.01 1457057135 -973774463 -1937705265 79575585 -1180197841 -1988512063 -1234805361 ▒ Random Number Test V0.01 1457057135 -973774463 -1937705265 79575585 -1180197841 -1988512063 ▒ Random Number Test V0.01 1457057135 -973774463 -1937705265 79575585 -1180197841
... __no_init __root int random_number_seed; // Do Not Assign Value ... void Initial_RandomNumberSeed() { // 初始化 Random Number Seed if (random_number_seed == 0) random_number_seed = 0xACE1u; } ... int RND() { random_number_seed = random_number_seed + 271828192; random_number_seed = random_number_seed * 314159; return random_number_seed; }
Random Number Test V0.01 1457057135 -973774463 -1937705265 79575585 -1180197841 -1988512063 -1234805361 ▒ Random Number Test V0.01 1171481418 416394678 ▒ Random Number Test V0.01 -1540031606 829907318 1596603338 ▒ Random Number Test V0.01 -9376458 1087120394 Random Number Test V0.01 1884639478 -1529629622 236686518 -1130763126 2065342582 ▒ Random Number Test V0.01 1394068682 1846119478 283530506 771706870 1077839178 -1905071178 ▒ Random Number Test V0.01 284777866 1799053174 1552932298 -1534088394 -367327734 -1694052618 ▒ Random Number Test V0.01 844355146 731368118 -1550627190 731487862