1 /* $NetBSD: rand48.h,v 1.5 2006/03/22 20:52:16 drochner Exp $ */
4 * Copyright (c) 1993 Martin Birgmeier
7 * You may redistribute unmodified or modified versions of this source
8 * code provided that the above copyright notice and this and the
9 * following conditions are retained.
11 * This software is provided ``as is'', and comes with no warranties
12 * of any kind. I shall in no event be liable for anything that happens
13 * to anyone/anything when using this software.
21 extern void __dorand48
__P((unsigned short[3]));
22 extern unsigned short __rand48_seed
[3];
23 extern unsigned short __rand48_mult
[3];
24 extern unsigned short __rand48_add
;
26 #define RAND48_SEED_0 (0x330e)
27 #define RAND48_SEED_1 (0xabcd)
28 #define RAND48_SEED_2 (0x1234)
29 #define RAND48_MULT_0 (0xe66d)
30 #define RAND48_MULT_1 (0xdeec)
31 #define RAND48_MULT_2 (0x0005)
32 #define RAND48_ADD (0x000b)
34 #endif /* _RAND48_H_ */