chiark / gitweb /
base/dispatch-x86ish.S: Lift register allocation definitions.
[catacomb] / rand / t / lcrand
1 # Test vectors for linear congruential generator
2
3 lcrand {
4   # --- Standard stuff ---
5
6   0             271828183;
7   271828183     996300340;
8   996300340     228306184;
9   228306184     1171467301;
10   1171467301    3265426054;
11   3265426054    2636049353;
12   2636049353    3799512036;
13   3799512036    2414373801;
14   2414373801    1059474234;
15   1059474234    2734911993;
16   2734911993    239668818;
17   239668818     1752802481;
18   1752802481    34386946;
19   34386946      1344553049;
20   1344553049    1121833700;
21   1121833700    636134543;
22
23   # --- Particular outputs ---
24
25   2282233179    4294967290;
26   2624567577    0;
27   2966901975    1;
28
29   # --- Fixed point ---
30
31   3223959250    3223959250;
32 }