More changes. Still embryonic.
[u/mdw/catacomb] / tests / lcrand
CommitLineData
07871354 1# Test vectors for linear congruential generator
2#
3# $Id: lcrand,v 1.1 1999/12/10 23:15:28 mdw Exp $
4
5lcrand {
6
7 # --- Standard stuff ---
8
9 0 271828183;
10 271828183 996300340;
11 996300340 228306184;
12 228306184 1171467301;
13 1171467301 3265426054;
14 3265426054 2636049353;
15 2636049353 3799512036;
16 3799512036 2414373801;
17 2414373801 1059474234;
18 1059474234 2734911993;
19 2734911993 239668818;
20 239668818 1752802481;
21 1752802481 34386946;
22 34386946 1344553049;
23 1344553049 1121833700;
24 1121833700 636134543;
25
26 # --- Particular outputs ---
27
28 2282233179 4294967290;
29 2624567577 0;
30 2966901975 1;
31
32 # --- Fixed point ---
33
34 3223959250 3223959250;
35}
36